X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/394938c479925750ffe56c28d281945ba4003a14..63dd4f45a5b356f7f6bdc4345c7f265ac5d2cd32:/lookup.c diff --git a/lookup.c b/lookup.c index d5392d5..c3b4908 100644 --- a/lookup.c +++ b/lookup.c @@ -16,6 +16,8 @@ #include "armor.h" #include "charfuncs.h" #include "cleankey.h" +#include "cleanup.h" +#include "config.h" #include "getcgi.h" #include "keydb.h" #include "keyindex.h" @@ -156,6 +158,7 @@ int main(int argc, char *argv[]) } else { readconfig(NULL); initlogthing("lookup", config.logfile); + catchsignals(); initdb(true); switch (op) { case OP_GET: @@ -209,7 +212,8 @@ int main(int argc, char *argv[]) } if (!mrhkp) { puts("