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