Reviewed and added OSX patch
The patch was provided by: Naveen Nathan <naveen@lastninja.net> The following modifications to the patch was made: - Added copyright notice - Fixed file descriptor leak in .MTU() method - Migrated to the new(er) golang.org/x/sys/unix package - Removed non-functioning Daemonize method
This commit is contained in:
parent
c5d7efc246
commit
086d32186a
3 changed files with 370 additions and 0 deletions
9
src/daemon_darwin.go
Normal file
9
src/daemon_darwin.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"errors"
|
||||
)
|
||||
|
||||
func Daemonize() error {
|
||||
return errors.New("Not implemented on OSX")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue