X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/394938c479925750ffe56c28d281945ba4003a14..1daf67e8e9262de579ba9d23691482529243cce3:/onak.c?ds=inline diff --git a/onak.c b/onak.c index 9af2c43..1dacae6 100644 --- a/onak.c +++ b/onak.c @@ -17,6 +17,7 @@ #include "armor.h" #include "charfuncs.h" #include "cleankey.h" +#include "cleanup.h" #include "keydb.h" #include "keyid.h" #include "keyindex.h" @@ -113,6 +114,7 @@ int main(int argc, char *argv[]) readconfig(configfile); initlogthing("onak", config.logfile); + catchsignals(); if ((argc - optind) < 1) { usage();