mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:54:44 +01: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
|
|
}
|