Corrected spacing for clarity in if statement

This commit is contained in:
Asif Bacchus 2018-10-16 01:16:59 -06:00
parent 1e217bf88c
commit 15bf15269d

View File

@ -627,12 +627,12 @@ checkResult="$?"
if [ "$checkResult" = "0" ]; then
echo -e "${op}${stamp} Found ${lit}${borgExclude}${normal}" \
>> "$logFile"
else
else
# file not found, unset the variable so it's like it was not specified
# in the first place and continue with backup
unset borgExclude
exitWarn+=('2114')
fi
fi
## Generate and execute borg
# commandline depends on whether borgExclude is empty or not