From: Andre Noll Date: Fri, 12 Mar 2010 13:32:17 +0000 (+0100) Subject: Fix create mode in case no post-create hook is given. X-Git-Tag: v0.1.4~14 X-Git-Url: http://git.tuebingen.mpg.de/dss.git/log?a=commitdiff_plain;h=50f26b35ac30d13240d501eba6dae819a9a400c7;p=dss.git Fix create mode in case no post-create hook is given. Without the patch, dss would hang forever waiting for the post-create hook to die. --- diff --git a/dss.c b/dss.c index eae8b3e..9589f9d 100644 --- a/dss.c +++ b/dss.c @@ -506,6 +506,7 @@ static int post_create_hook(void) char *cmd; if (!conf.post_create_hook_given) { + create_pid = 0; snapshot_creation_status = HS_READY; return 0; }