Corrected missing 'then'

This commit is contained in:
Asif Bacchus 2018-10-25 10:41:38 -06:00
parent fb6a2e9014
commit 8bb9617e34
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ echo -e "${op}${stamp} Cleaning up old redis state backup...${normal}" \
>> "$logFile"
checkExist ff "$dockerVolumeRedis/dump.rdb"
checkResult="$?"
if [ "$checkResult" = "0" ]
if [ "$checkResult" = "0" ]; then
echo -e "${lit}${stamp} Old redis backup found.${normal}" >> "$logFile"
echo -e "${op}Deleting...${normal}" >> "$logFile"
rm -f "$dockerVolumeRedis/dump.rdb" 2>> "$logFile"