Updated logging output for xtraFiles processing

This commit is contained in:
Asif Bacchus 2018-10-14 15:31:18 -06:00
parent cf6af2c01f
commit c9febf9b08

View File

@ -544,9 +544,9 @@ if [ -n "$borgXtra" ]; then
checkExist ff "$borgXtra" checkExist ff "$borgXtra"
checkResult="$?" checkResult="$?"
if [ "$checkResult" = "0" ]; then if [ "$checkResult" = "0" ]; then
echo -e "${op}${stamp} Found ${lit}${borgXtra}${normal}" >> $"logFile" echo -e "${op}${stamp} Found ${lit}${borgXtra}${normal}" >> "$logFile"
mapfile -t xtraFiles < "$borgXtra" mapfile -t xtraFiles < "$borgXtra"
echo -e "${info}${stamp} Processed extra files list for inclusion in" \ echo -e "${op}${stamp} Processed extra files list for inclusion in" \
"borgbackup${normal}" >> "$logFile" "borgbackup${normal}" >> "$logFile"
else else
exitWarn+=('2113') exitWarn+=('2113')