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