added dependency github.com/sevlyar/go-daemon

This commit is contained in:
ishuah
2018-03-04 14:06:07 +03:00
committed by Ishuah Kariuki
parent fe8eeec5b5
commit 90af7af9a3
39 changed files with 2377 additions and 137 deletions
+12
View File
@@ -0,0 +1,12 @@
// +build !linux !arm64
// +build !windows
package daemon
import (
"syscall"
)
func syscallDup(oldfd int, newfd int) (err error) {
return syscall.Dup2(oldfd, newfd)
}