Updated sqlDumpDir section to use updated checkExist
This commit is contained in:
parent
626c6736b1
commit
3783c7db19
@ -342,7 +342,15 @@ checkExist find createDir $sqlDumpDir
|
|||||||
checkResult="$?"
|
checkResult="$?"
|
||||||
if [ "$checkResult" = "1" ]; then
|
if [ "$checkResult" = "1" ]; then
|
||||||
# verify creation successful
|
# verify creation successful
|
||||||
checkExist verify $sqlDumpDir
|
checkExist find $sqlDumpDir
|
||||||
|
checkResult="$?"
|
||||||
|
if [ "$checkResult" = "0" ]; then
|
||||||
|
echo -e "\e[1;39mConfirmed: \e[0;33m$sqlDumDir \e[1;39mcreated.\e[0m" \
|
||||||
|
>> $logFileVerbose
|
||||||
|
else
|
||||||
|
# cannot continue without a place to dump SQL
|
||||||
|
quit 102
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Create unique filename for sqlDump file
|
## Create unique filename for sqlDump file
|
||||||
|
Loading…
Reference in New Issue
Block a user