summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2009-04-07 16:17:01 +0200
committerAndre Noll <maan@systemlinux.org>2009-04-07 16:17:01 +0200
commit0ca40f54698dc00d81e40f784e27628f8fe802c0 (patch)
treeb5d27e3515b1ef945b150c653a50b6a294af65ea
parent260d141cfa4b0f6368920762fe85093da75e3849 (diff)
parentd98f153760260186e7350c5ac51c3e60410166ef (diff)
Merge branch 'master' into rm_hook
-rw-r--r--dss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dss.c b/dss.c
index 7e23eab..6dbe11f 100644
--- a/dss.c
+++ b/dss.c
@@ -985,7 +985,7 @@ static int com_create(void)
if (ret < 0)
return ret;
ret = handle_pre_create_hook_exit(status);
- if (ret < 0)
+ if (ret <= 0) /* error, or pre-create failed */
return ret;
}
create_rsync_argv(&rsync_argv, &current_snapshot_creation_time);