X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=dss.c;h=d57daba037ede4b406030c639a4c93f063fa7533;hb=064b878216517a8482e285003e92066b25cb6143;hp=ecf2b3f657c191347d417b52e95cc4fb0bf42fda;hpb=2c800c734e535a0f2ba17d7645c41505642e9351;p=dss.git diff --git a/dss.c b/dss.c index ecf2b3f..d57daba 100644 --- a/dss.c +++ b/dss.c @@ -380,8 +380,8 @@ static int post_create_hook(void) compute_next_snapshot_time(); return 0; } - cmd = make_message("%s %s", conf.post_create_hook_arg, - path_to_last_complete_snapshot); + cmd = make_message("%s %s/%s", conf.post_create_hook_arg, + conf.dest_dir_arg, path_to_last_complete_snapshot); DSS_NOTICE_LOG("executing %s\n", cmd); ret = dss_exec_cmdline_pid(&post_create_hook_pid, cmd, fds); free(cmd);