certspotter icon indicating copy to clipboard operation
certspotter copied to clipboard

catch ^C and clean up lock file

Open jschauma opened this issue 8 years ago • 0 comments

Go doesn't have atexit(3), and the only signals guaranteed to be available on all platforms are SIGINT and SIGKILL, so we only catch SIGINT here. This allows us to at least have the user not have to manually clean up the state file after ^C'ing certspotter.

jschauma avatar Dec 07 '17 21:12 jschauma