X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/2ded7b1e4475beb7a3f132deeeae807861bdc399..ad30ce51bf609c35cd99a9ca46dd859b17d8164a:/lookup.c diff --git a/lookup.c b/lookup.c index d5392d5..e4cab46 100644 --- a/lookup.c +++ b/lookup.c @@ -16,6 +16,7 @@ #include "armor.h" #include "charfuncs.h" #include "cleankey.h" +#include "cleanup.h" #include "getcgi.h" #include "keydb.h" #include "keyindex.h" @@ -156,6 +157,7 @@ int main(int argc, char *argv[]) } else { readconfig(NULL); initlogthing("lookup", config.logfile); + catchsignals(); initdb(true); switch (op) { case OP_GET: