From bda24be00314f7146bc5064193497f640004faa4 Mon Sep 17 00:00:00 2001 From: David Arthur Date: Wed, 13 Nov 2013 13:29:08 -0500 Subject: [PATCH] Add a "latest" symlink when backup is successful --- rsync_tmbackup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index 754189f..ea5fb8f 100644 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -226,6 +226,7 @@ while [ "1" ]; do fi if [ "$RSYNC_EXIT_CODE" != "0" ]; then + ln -s $DEST $DEST/../latest fn_log_error "Exited with error code $RSYNC_EXIT_CODE" exit $RSYNC_EXIT_CODE fi