X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontrol.c;h=bc7d7958e402a0283caf2db0020b61e3173641c1;hb=0047043f803e4fade3cb26b5b1d13ed40ca75ebb;hp=0c9dd11b13b8f815fe2b1932d7168712cd5df526;hpb=31159b4fd0b03b5367db90710b843ed62c7ad471;p=citadel.git diff --git a/citadel/control.c b/citadel/control.c index 0c9dd11b1..bc7d7958e 100644 --- a/citadel/control.c +++ b/citadel/control.c @@ -60,7 +60,7 @@ void lock_control(void) if (flock(fileno(control_fp), (LOCK_EX | LOCK_NB))) { lprintf(CTDL_EMERG, "citserver: unable to lock %s.\n", file_citadel_control); lprintf(CTDL_EMERG, "Is another citserver already running?\n"); - exit(1); + exit(CTDLEXIT_CONTROL); } }