From 50f26b35ac30d13240d501eba6dae819a9a400c7 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 12 Mar 2010 14:32:17 +0100 Subject: [PATCH] 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. --- dss.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.2