From: Wilfried Göesgens Date: Sun, 21 Feb 2010 18:19:13 +0000 (+0000) Subject: * since valgrinds name reacting to killall has become verry fancy to type, do the... X-Git-Tag: v7.86~398 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=465bd077ac3bde165b57ec343479b551967d0b0a;hp=0a4b2cf69ee365490f90537371edc1b5fdd6e9ff;p=citadel.git * since valgrinds name reacting to killall has become verry fancy to type, do the same on SIGINT as SIGHUP when running from the console: cleanup shit and exit. --- diff --git a/webcit/webserver.c b/webcit/webserver.c index 6d02afed2..97c1bfb12 100644 --- a/webcit/webserver.c +++ b/webcit/webserver.c @@ -232,6 +232,7 @@ int main(int argc, char **argv) start_daemon(pidfile); } else { + signal(SIGINT, graceful_shutdown); signal(SIGHUP, graceful_shutdown); }