Brain fart
This commit is contained in:
David Arthur 2013-11-13 15:52:24 -05:00
parent bda24be003
commit 0c679903af

View file

@ -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