diff --git a/ccm-core/src/com/arsdigita/packaging/Load.java b/ccm-core/src/com/arsdigita/packaging/Load.java index cddbc17a4..f3b8aeb2d 100755 --- a/ccm-core/src/com/arsdigita/packaging/Load.java +++ b/ccm-core/src/com/arsdigita/packaging/Load.java @@ -276,8 +276,7 @@ class Load extends Command implements LoadCenter { //Loads the collected configuration-parameters and data- //scripts. Saves the configuration. - if (!contexts.load(new JavaPropertyReader(parameters), System.err) || - !saveConfig(config)) { + if (!contexts.load(new JavaPropertyReader(parameters), System.err)) { return false; } @@ -291,6 +290,10 @@ class Load extends Command implements LoadCenter { return false; } + if (!saveConfig(config)) { + return false; + } + Session ssn = null; //All --schema and --data specific tasks. @@ -759,4 +762,4 @@ class Load extends Command implements LoadCenter { loader.loadInits(ssn); } } -} \ No newline at end of file +}