X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=scandir.cc;h=8af3175b64c3b6007a5497f4c4ac8d81e5d9ff7c;hp=f902fa09330f6a791541889bde7551cf186b3558;hb=f38dd9bcb0caffd3fc9126b05788c936690e8288;hpb=f6d3d525bf2c0afa0190e767f6de575cdbd5bcfd 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); }