]> code.citadel.org Git - citadel.git/blobdiff - citadel/server_main.c
* make some pointers const...
[citadel.git] / citadel / server_main.c
index 0503221dae6fdf5619361878d04fbcc197e1fb36..b3d110cd8b498b4631621fb143eb0989b65d390d 100644 (file)
@@ -133,7 +133,6 @@ int main(int argc, char **argv)
                        else
                                safestrncpy(relhome, &argv[a][2],
                                                        sizeof relhome);
-                       home_specified = 1;
                        home=1;
                }
 
@@ -311,6 +310,14 @@ int main(int argc, char **argv)
                start_chkpwd_daemon();
        }
 
+
+       /*
+        * check, whether we're fired up another time after a crash.
+        * if, post an aide message, so the admin has a chance to react.
+        */
+       checkcrash ();
+
+
        /*
         * Now that we've bound the sockets, change to the Citadel user id and its
         * corresponding group ids