2021-09-09 12:25:25 +00:00
|
|
|
//go:build windows || plan9
|
|
|
|
// +build windows plan9
|
2019-02-27 22:49:22 +00:00
|
|
|
|
|
|
|
package atexit
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
2021-07-05 21:51:12 +00:00
|
|
|
|
|
|
|
"github.com/rclone/rclone/lib/exitcode"
|
2019-02-27 22:49:22 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var exitSignals = []os.Signal{os.Interrupt}
|
2021-07-05 21:51:12 +00:00
|
|
|
|
|
|
|
func exitCode(_ os.Signal) int {
|
|
|
|
return exitcode.UncategorizedError
|
|
|
|
}
|