diff options
Diffstat (limited to 'modules/mirror/templates')
-rw-r--r-- | modules/mirror/templates/mirrordir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mirror/templates/mirrordir b/modules/mirror/templates/mirrordir index 85b54389..5d2ad401 100644 --- a/modules/mirror/templates/mirrordir +++ b/modules/mirror/templates/mirrordir @@ -5,7 +5,7 @@ localdir="<%= localdir %>" rsync_options="<%= rsync_options %>" lockfile="<%= lockfile %>" -test -f "$lockfile" && exit +test -f "$lockfile" && echo "sync already in progress" && exit touch "$lockfile" /usr/bin/rsync $rsync_options "$remoteurl" "$localdir" rm -f "$lockfile" |