X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=dss.c;h=af02f1ce0bfcbf20b6858a3b22f762762140e4bf;hb=refs%2Ftags%2Fv0.1.1;hp=86e83827f50991fc9460eb44c71b45211b7fc1a8;hpb=cfdc28028a7a55a1f9e14ff3d2e34273ef32e6a6;p=dss.git diff --git a/dss.c b/dss.c index 86e8382..af02f1c 100644 --- a/dss.c +++ b/dss.c @@ -502,6 +502,8 @@ static int handle_rsync_exit(int status) DSS_WARNING_LOG("rsync process %d returned %d -- restarting\n", (int)rsync_pid, es); snapshot_creation_status = SCS_RSYNC_NEEDS_RESTART; + gettimeofday(&next_snapshot_time, NULL); + next_snapshot_time.tv_sec += 60; ret = 1; goto out; }