Update mirrorsync.sh

This commit is contained in:
Dennis Körner 2021-06-03 12:53:19 +02:00 committed by GitHub
parent 06d824e9df
commit b3875ce3de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,4 +80,4 @@ logger -t rsync "Updating ${mirrormodule}"
rsync "${opts[@]}" "${src}/" "${dst}/" >> "$logfile" 2>&1 rsync "${opts[@]}" "${src}/" "${dst}/" >> "$logfile" 2>&1
logger -t rsync "Finished updating ${mirrormodule}" logger -t rsync "Finished updating ${mirrormodule}"
printf "End: %(%c)T\n" -1 >> "$logfile" 2>&1 printf "End: %(%c)T\n" -1 >> "$logfile" 2>&1
rm -f $lockfile rm -f "$lockfile"