]> code.citadel.org Git - citadel.git/commitdiff
setup.c: close stdin when starting the service
authorArt Cancro <ajc@citadel.org>
Tue, 19 Dec 2006 04:30:23 +0000 (04:30 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 19 Dec 2006 04:30:23 +0000 (04:30 +0000)
citadel/setup.c

index 62534334d53c3aa6f46bd76577e6db6f832ec8c7..6f727a581da641c22baca294f12b0f7617767523 100644 (file)
@@ -1358,7 +1358,7 @@ NEW_INST:
                if (!access("/etc/init.d/citadel", X_OK)) {
                        for (a=0; a<=2; ++a) {
                                progress("Starting the Citadel service...", a, 2);
-                               if (a == 0) system("/etc/init.d/citadel start >/dev/null 2>&1");
+                               if (a == 0) system("/etc/init.d/citadel start </dev/null >/dev/null 2>&1");
                                sleep(1);
                        }
                }