1
0
mirror of https://github.com/restic/restic.git synced 2025-05-12 14:38:21 +00:00
Alexander Neumann 83d1a46526 Moves files
2017-07-23 14:19:13 +02:00

14 lines
242 B
Go

// +build !windows
package sftp
import (
"syscall"
)
// ignoreSigIntProcAttr returns a syscall.SysProcAttr that
// disables SIGINT on parent.
func ignoreSigIntProcAttr() *syscall.SysProcAttr {
return &syscall.SysProcAttr{Setsid: true}
}