oops, combined the two modes, fixed
[citadel-docker.git] / ctdlvisor.c
index c97509da45fa28e9ef65782bfcac1e0e771391db..9c2ad8aebde9428a8dd21f65e84a0dbe69f6e96a 100644 (file)
@@ -260,7 +260,7 @@ int main(int argc, char **argv) {
        }
 
        // "import mode" means we only run ctdlload
-       if (export_mode) {
+       if (import_mode) {
                sprintf(bin, "/usr/local/citadel/ctdlload -y -h %s", CTDL_DIR);
                system(bin);
        }