bug fix (Fri May 12 15:38:04 CST 2023)

This commit is contained in:
Dict Xiong 2023-05-12 15:38:04 +08:00
parent 2bf281fe8e
commit a4500ddc73
2 changed files with 4 additions and 3 deletions

3
config
View File

@ -1 +1,2 @@
ubuntu-releases rsync://mirrors4.tuna.tsinghua.edu.cn/ubuntu-releases /tmp/mirrors/ubuntu-releases
putty rsync://mirrors4.tuna.tsinghua.edu.cn/putty /tmp/putty
github-raw rsync://mirrors4.tuna.tsinghua.edu.cn/github-raw /tmp/github-raw

View File

@ -40,8 +40,8 @@ do_sync() {
then
touch "$lock_file"
presync "$name"
echo rsync -4avzthP --stats --delete --bwlimit=6000 "$src" "$dst"
postsync "$name" $?
rsync -avzthP --stats --delete --bwlimit=6000 "$src" "$dst"
postsync "$name" $? "$dst"
rm "$lock_file"
else
locked "$name"