diff options
-rw-r--r-- | nss_pcache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nss_pcache.c b/nss_pcache.c index 762dcb7..3ba252e 100644 --- a/nss_pcache.c +++ b/nss_pcache.c @@ -20,6 +20,7 @@ #include <seccomon.h> #include <pk11func.h> #include <secmod.h> +#include <signal.h> #include "nss_pcache.h" static char * getstr(const char * cmd, int el); @@ -309,6 +310,8 @@ int main(int argc, char ** argv) exit(1); } + signal(SIGHUP, SIG_IGN); + if (!strcasecmp(argv[1], "on")) fipsmode = 1; |