commit
986349901f
|
@ -36,7 +36,7 @@ rsync -avz --delete --force --ignore-errors --partial \
|
||||||
$rep \
|
$rep \
|
||||||
-e "ssh -p $SSHPORT -4" \
|
-e "ssh -p $SSHPORT -4" \
|
||||||
root@${BACKUPSERVER}:/var/backup/ > $tmplog
|
root@${BACKUPSERVER}:/var/backup/ > $tmplog
|
||||||
$status=$?
|
status=$?
|
||||||
|
|
||||||
# Keep the last 20 lines
|
# Keep the last 20 lines
|
||||||
tail -20 $tmplog >> $LOG && rm $tmplog
|
tail -20 $tmplog >> $LOG && rm $tmplog
|
||||||
|
|
Loading…
Reference in a new issue