X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=dss.c;h=93ab802cb123bddde776042a9a9cff266102091c;hb=64964f0639b13787a06bea76f922cba18731807c;hp=c5f636c2ed8b86ad5170c164d3f6e2d4d08d862c;hpb=67f36528afce8e7dd5016283eb3da5a99be4778d;p=dss.git diff --git a/dss.c b/dss.c index c5f636c..93ab802 100644 --- a/dss.c +++ b/dss.c @@ -734,7 +734,6 @@ static int handle_rsync_exit(int status) free(name_of_reference_snapshot); name_of_reference_snapshot = NULL; out: - create_pid = 0; create_process_stopped = 0; return ret; } @@ -766,7 +765,6 @@ static int handle_pre_create_hook_exit(int status) snapshot_creation_status = HS_PRE_SUCCESS; ret = 1; out: - create_pid = 0; return ret; } @@ -792,6 +790,7 @@ static int handle_sigchld(void) snapshot_creation_status); return -E_BUG; } + create_pid = 0; } if (pid == remove_pid) { ret = handle_remove_exit(status);