fix error in tmp directory removal cmd
This commit is contained in:
parent
2380d19a0d
commit
c3aa35ab15
@ -64,7 +64,7 @@ cleanup () {
|
||||
fi
|
||||
fi
|
||||
# remove EML temporary directory
|
||||
if ! rm -f "$exportDir" 2>>"$logFile"; then
|
||||
if ! rm -rf "$exportDir" 2>>"$logFile"; then
|
||||
printf "${warn}[%s] -- [WARNING] Could not remove EML export tmp dir:" \
|
||||
"$(stamp)" >> "$logFile"
|
||||
printf "\n%s\n" "$exportDir" >> "$logFile"
|
||||
|
Loading…
Reference in New Issue
Block a user