mirror of
https://github.com/rclone/rclone.git
synced 2024-12-25 05:24:03 +08:00
16 lines
221 B
Go
16 lines
221 B
Go
//go:build windows || plan9
|
|
|
|
package atexit
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/rclone/rclone/lib/exitcode"
|
|
)
|
|
|
|
var exitSignals = []os.Signal{os.Interrupt}
|
|
|
|
func exitCode(_ os.Signal) int {
|
|
return exitcode.UncategorizedError
|
|
}
|