Files
Timmy Welch e374614124 Move hashing code into ch/ and comic-hasher to the repo root
So `go install gitea.narnian.us/lordwelch/comic-hasher@latest` works
2026-11-05 16:28:41 -08:00

14 lines
177 B
Go

//go:build unix
package main
import (
"os"
"os/signal"
"syscall"
)
func Notify(sig chan os.Signal) {
signal.Notify(sig, os.Interrupt, syscall.SIGQUIT, syscall.SIGTERM)
}