oops, combined the two modes, fixed
authorArt Cancro <ajc@citadel.org>
Wed, 26 Jul 2023 16:01:35 +0000 (07:01 -0900)
committerArt Cancro <ajc@citadel.org>
Wed, 26 Jul 2023 16:01:35 +0000 (07:01 -0900)
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);
        }