]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/ircd_signal.c
autogen.sh is not necessary at this time, and did not work anyway.
[irc/rqf/shadowircd.git] / src / ircd_signal.c
index 0a02c0958c1227d22ddaf7c4c24843a5598cff80..4ea20aaf6f0cf65dd7c7e1740824de1d5c66b333 100644 (file)
@@ -57,12 +57,7 @@ sigchld_handler(int sig)
 static void
 sigterm_handler(int sig)
 {
-       /* XXX we had a flush_connections() here - we should close all the
-        * connections and flush data. read server_reboot() for my explanation.
-        *     -- adrian
-        */
-       ilog(L_MAIN, "Server killed By SIGTERM");
-       exit(-1);
+       ircd_shutdown("Received SIGTERM");
 }
 
 /*