modifies the load script and fixes the prepare bug
git-svn-id: https://svn.libreccm.org/ccm/trunk@3756 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
726ffe388a
commit
07affdd2d1
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue