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
1 changed files with 6 additions and 6 deletions

View File

@ -627,12 +627,12 @@ checkResult="$?"
if [ "$checkResult" = "0" ]; then
echo -e "${op}${stamp} Found ${lit}${borgExclude}${normal}" \
>> "$logFile"
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
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
## Generate and execute borg
# commandline depends on whether borgExclude is empty or not