mirror of
https://github.com/stashapp/stash.git
synced 2025-12-12 11:22:37 +01:00
12 lines
231 B
Go
12 lines
231 B
Go
// +build !js !wasm
|
|
|
|
package astikit
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func isTermSignal(s os.Signal) bool {
|
|
return s == syscall.SIGABRT || s == syscall.SIGKILL || s == syscall.SIGINT || s == syscall.SIGQUIT || s == syscall.SIGTERM
|
|
}
|