mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-22 13:11:26 +00:00
Update mirrorsync.sh
This commit is contained in:
parent
06d824e9df
commit
b3875ce3de
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user