mirror of
https://github.com/rclone/rclone.git
synced 2025-12-18 01:03:14 +00:00
added dependency github.com/sevlyar/go-daemon
This commit is contained in:
12
vendor/github.com/sevlyar/go-daemon/syscall_dup.go
generated
vendored
Normal file
12
vendor/github.com/sevlyar/go-daemon/syscall_dup.go
generated
vendored
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user