Corrected missing 'then'
This commit is contained in:
parent
fb6a2e9014
commit
8bb9617e34
@ -590,7 +590,7 @@ echo -e "${op}${stamp} Cleaning up old redis state backup...${normal}" \
|
|||||||
>> "$logFile"
|
>> "$logFile"
|
||||||
checkExist ff "$dockerVolumeRedis/dump.rdb"
|
checkExist ff "$dockerVolumeRedis/dump.rdb"
|
||||||
checkResult="$?"
|
checkResult="$?"
|
||||||
if [ "$checkResult" = "0" ]
|
if [ "$checkResult" = "0" ]; then
|
||||||
echo -e "${lit}${stamp} Old redis backup found.${normal}" >> "$logFile"
|
echo -e "${lit}${stamp} Old redis backup found.${normal}" >> "$logFile"
|
||||||
echo -e "${op}Deleting...${normal}" >> "$logFile"
|
echo -e "${op}Deleting...${normal}" >> "$logFile"
|
||||||
rm -f "$dockerVolumeRedis/dump.rdb" 2>> "$logFile"
|
rm -f "$dockerVolumeRedis/dump.rdb" 2>> "$logFile"
|
||||||
|
Loading…
Reference in New Issue
Block a user