From: Wilfried Göesgens Date: Mon, 30 Jul 2007 23:22:48 +0000 (+0000) Subject: * look exactly for 2 or 3, so the status request will still work. X-Git-Tag: v7.86~3195 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=87a9f77322635a9ae6bfaef9e0f32e0b20391d1e;p=citadel.git * look exactly for 2 or 3, so the status request will still work. --- diff --git a/citadel/citserver.c b/citadel/citserver.c index a89ef729b..262cb2b32 100644 --- a/citadel/citserver.c +++ b/citadel/citserver.c @@ -799,7 +799,7 @@ void cmd_scdn(char *argbuf) if (CtdlAccessCheck(ac_aide)) return; new_state = extract_int(argbuf, 0); - if (new_state > 1) + if ((new_state == 2) || (new_state == 3)) { restart_server = 1; if (!running_as_daemon)