X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=lookup.c;h=e4cab46f2ad362030db60c9f5cde4274dfa4b513;hb=ad30ce51bf609c35cd99a9ca46dd859b17d8164a;hp=d5392d599d318f806b059dd1e6fc043e0bfbed53;hpb=2ded7b1e4475beb7a3f132deeeae807861bdc399;p=onak.git 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: