diff options
Diffstat (limited to 'bin/sync-tor.sh')
-rwxr-xr-x | bin/sync-tor.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/sync-tor.sh b/bin/sync-tor.sh index d1df555..4c74407 100755 --- a/bin/sync-tor.sh +++ b/bin/sync-tor.sh @@ -5,11 +5,5 @@ OPTS="-a --quiet --delete --timeout=600" SRC="rsync://rsync.torproject.org/tor" DST="/mirror/ftp/pub/tor" -lockfile=/tmp/`basename $0`.lock - -if lockfile -r 5 $lockfile -then - ${RSYNC} ${OPTS} ${SRC} ${DST} - echo "End: "`date` - rm -f $lockfile -fi +${RSYNC} ${OPTS} ${SRC} ${DST} +echo "End: "`date` |