Introduce signal_shutdown().
[paraslash.git] / server.c
index 9b6b55c..4ea6df0 100644 (file)
--- a/server.c
+++ b/server.c
@@ -560,7 +560,7 @@ genocide:
        }
        alarm(ALARM_TIMEOUT);
        close_listed_fds();
-       close(sockfd); /* child doesn't need the listener */
+       para_signal_shutdown();
        /*
         * put info on who we are serving into argv[0] to make
         * client ip visible in top/ps