Fixed echo output typo in borg error checking.

This commit is contained in:
Asif Bacchus 2018-10-14 07:18:34 -06:00
parent fb2c6ca0d3
commit 333c62556c

View File

@ -535,7 +535,7 @@ fi
## Check status of borg operation ## Check status of borg operation
borgResult="$?" borgResult="$?"
if [ "$borgResult" -eq 0 ]; then if [ "$borgResult" -eq 0 ]; then
echo "${ok}${stamp} -- [SUCCESS] Borg backup completed successfully --" \ echo -e "${ok}${stamp} -- [SUCCESS] Borg backup completed successfully --" \
"${normal}" >> "$logFile" "${normal}" >> "$logFile"
elif [ "$borgResult" -eq 1 ]; then elif [ "$borgResult" -eq 1 ]; then
exitWarn+=('borg200') exitWarn+=('borg200')