mirror of
https://github.com/laurent22/rsync-time-backup
synced 2024-12-15 06:32:30 +00:00
Fixed
Brain fart
This commit is contained in:
parent
bda24be003
commit
0c679903af
1 changed files with 2 additions and 1 deletions
|
@ -226,7 +226,8 @@ while [ "1" ]; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$RSYNC_EXIT_CODE" != "0" ]; then
|
if [ "$RSYNC_EXIT_CODE" != "0" ]; then
|
||||||
ln -s $DEST $DEST/../latest
|
rm -f $DEST_FOLDER/latest
|
||||||
|
ln -s $DEST $DEST_FOLDER/latest
|
||||||
fn_log_error "Exited with error code $RSYNC_EXIT_CODE"
|
fn_log_error "Exited with error code $RSYNC_EXIT_CODE"
|
||||||
exit $RSYNC_EXIT_CODE
|
exit $RSYNC_EXIT_CODE
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue