separated var from formatting in printf

This commit is contained in:
Asif Bacchus 2019-05-25 13:17:24 -06:00
parent 5a473b9686
commit 2d8c41412f

View File

@ -50,7 +50,7 @@ cleanup () {
if ! rm -rf "$sqlDumpDir" 2>>"$logFile"; then
printf "${warn}[%s] -- [WARNING] Could not remove temporary " \
"$(stamp)" >> "$logFile"
printf "SQL dump directory at $sqlDumpDir. " >> "$logFile"
printf "SQL dump directory at %s. " "$sqlDumpDir" >> "$logFile"
printf "Remove manually to free up space.${norm}\n" >> "$logFile"
fi
fi