summaryrefslogtreecommitdiffstats
path: root/bin/sync-dhozac.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sync-dhozac.sh')
-rwxr-xr-xbin/sync-dhozac.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/sync-dhozac.sh b/bin/sync-dhozac.sh
index 7229e40..c5a3eab 100755
--- a/bin/sync-dhozac.sh
+++ b/bin/sync-dhozac.sh
@@ -5,11 +5,5 @@ OPTS="-Hax --delete --exclude=/plague/tmp"
SRC="rsync://rpm.hozac.com/dhozac/"
DST="/mirror/ftp/pub/dhozac/"
-lockfile=/tmp/`basename $0`.lock
-
-if lockfile -r 5 $lockfile
-then
- ${RSYNC} ${OPTS} ${SRC} ${DST} && date > "${DST}/lastsync"
- echo "End: "`date`
- rm -f $lockfile
-fi
+${RSYNC} ${OPTS} ${SRC} ${DST} && date > "${DST}/lastsync"
+echo "End: "`date`