X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=scandir.cc;h=8af3175b64c3b6007a5497f4c4ac8d81e5d9ff7c;hp=f902fa09330f6a791541889bde7551cf186b3558;hb=65edb87a0b8a578b4a7221478a851d71df21fab0;hpb=fe6bbd9d0b49d6b6e43451f7703894ab02aee73e diff --git a/scandir.cc b/scandir.cc index f902fa0..8af3175 100644 --- a/scandir.cc +++ b/scandir.cc @@ -804,8 +804,7 @@ int main(int argc, char *argv[]) tmp_dir.c_str()); return 1; } - remote = new RemoteStore(tmp_dir); - remote->set_script(backup_script); + remote = new RemoteStore(tmp_dir, backup_script=backup_script); } else { remote = new RemoteStore(backup_dest); }