Build from the published sources, not from git
[citadel-docker.git] / ctdlvisor.c
index c97509da45fa28e9ef65782bfcac1e0e771391db..7c5632abd9eb55baa8a4ffdf9cf5c81a7d40cc7e 100644 (file)
@@ -260,7 +260,7 @@ int main(int argc, char **argv) {
        }
 
        // "import mode" means we only run ctdlload
-       if (export_mode) {
+       else if (import_mode) {
                sprintf(bin, "/usr/local/citadel/ctdlload -y -h %s", CTDL_DIR);
                system(bin);
        }