From: Sebastian Stark Date: Sat, 31 Jan 2009 09:04:28 +0000 (+0100) Subject: fix post_create_hook: really pass full path to last complete snapshot X-Git-Tag: v0.1.2~2^2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=8dd55d3a9f4165296d9f5a834870a832f232ca03;p=dss.git fix post_create_hook: really pass full path to last complete snapshot --- diff --git a/dss.c b/dss.c index f8a1e51..aec4109 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);