mirror of
https://github.com/stashapp/stash.git
synced 2025-12-11 10:54:14 +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
|
|
}
|