X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/8ad278b08812c06f7c7f97a7346f99319ba134a3..377b98f0794834938a3fc1e5959236a7927d19d7:/src/ircd_signal.c?ds=sidebyside diff --git a/src/ircd_signal.c b/src/ircd_signal.c index 0a02c09..4ea20aa 100644 --- a/src/ircd_signal.c +++ b/src/ircd_signal.c @@ -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"); } /*