* master_cleanup() now passes along an exit code from its caller to the OS.
[citadel.git] / citadel / server_main.c
index 6e25f3cc6fab49556ef8bfc9dffcf7433dce4dc9..c4d6c5e24ec9fcde51321878cd2156d2c4c49e8b 100644 (file)
@@ -229,6 +229,6 @@ int main(int argc, char **argv)
 
        /* Server is exiting. Wait for workers to shutdown. */
        lprintf(CTDL_INFO, "Server is shutting down.\n");
-       master_cleanup();
+       master_cleanup(0);
        return(0);
 }