forked from TrueCloudLab/restic
0e7d0d8dba
Retrieve the SysProcAttr from a separate function. Completely eliminates syscall from main file.
11 lines
198 B
Go
11 lines
198 B
Go
package sftp
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
// ignoreSigIntProcAttr returns a default syscall.SysProcAttr
|
|
// on Windows.
|
|
func ignoreSigIntProcAttr() *syscall.SysProcAttr {
|
|
return &syscall.SysProcAttr{}
|
|
}
|