From: Art Cancro Date: Tue, 1 Aug 2023 13:44:50 +0000 (-0900) Subject: ctdlvisor: add an 'else' so it doesn't try to start citserver after an import. X-Git-Url: https://code.citadel.org/?p=citadel-docker.git;a=commitdiff_plain;h=92b0cd65d287e14104507be7eeddfa0900096a0f ctdlvisor: add an 'else' so it doesn't try to start citserver after an import. --- diff --git a/ctdlvisor.c b/ctdlvisor.c index 9c2ad8a..7c5632a 100644 --- a/ctdlvisor.c +++ b/ctdlvisor.c @@ -260,7 +260,7 @@ int main(int argc, char **argv) { } // "import mode" means we only run ctdlload - if (import_mode) { + else if (import_mode) { sprintf(bin, "/usr/local/citadel/ctdlload -y -h %s", CTDL_DIR); system(bin); }