summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rsync_tmbackup.sh1
1 files changed, 1 insertions, 0 deletions
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