2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-15 09:44:15 +00:00
restic/backend/sftp/sftp_unix.go

13 lines
174 B
Go
Raw Normal View History

// +build !windows
package sftp
import (
"syscall"
)
func init() {
// ignore signals sent to the parent (e.g. SIGINT)
sysProcAttr = syscall.SysProcAttr{Setsid: true}
}