* returns 255 if rsync should not be used
*/
public static int rsync(){
- if(!Configuration.getProperty("Rsync").toLowerCase().equals("yes")){
+ if(!MirConfig.getProp("Rsync").toLowerCase().equals("yes")){
return 255;
}
int returnValue = -1;
try {
Runtime run = Runtime.getRuntime();
- p = run.exec(Configuration.getProperty("Rsync.Script.Path"));
+ p = run.exec(MirConfig.getProp("Rsync.Script.Path"));
returnValue = p.waitFor();
} catch (IOException e) {
return returnValue;