We restart the rsync process in case it returned with exit code 13
which unfortunately happens for some unknown reasons even with a
valid configuration.
This may lead to a busy loop, so wait at least one minute before
restarting rsync.
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;
}