Merge master.

This commit is contained in:
Robert Bruce Park 2013-11-15 23:07:01 -08:00
commit f5a4275a04

View file

@ -279,6 +279,15 @@ while [ "1" ]; do
exit $RSYNC_EXIT_CODE
fi
# -----------------------------------------------------------------------------
# Add symlink to last successful backup
# -----------------------------------------------------------------------------
cd "$DEST_FOLDER"
rm -f -- "latest"
ln -s -- $(basename -- "$DEST") "latest"
cd -
rm -- "$INPROGRESS_FILE"
# TODO: grep for "^rsync error:.*$" in log
fn_log_info "Backup completed without errors."