set term to dummy for cron, update path
This commit is contained in:
parent
3f08853826
commit
5b1678c6ae
@ -5,6 +5,12 @@
|
||||
#######
|
||||
|
||||
|
||||
### set environment variables
|
||||
if [ -z "$TERM" ]; then
|
||||
export TERM=dumb;
|
||||
fi
|
||||
export PATH=$PATH:/usr/local/bin
|
||||
|
||||
### text formatting presents
|
||||
norm=$(tput sgr0)
|
||||
err=$(tput bold)$(tput setaf 1)
|
||||
@ -65,7 +71,7 @@ cleanup () {
|
||||
else
|
||||
printf "${cyan}[%s] -- [INFO] 503 error page removed --${norm}\n" \
|
||||
"$(stamp)" >> "$logFile"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# remove EML temporary directory
|
||||
if ! rm -rf "$exportDir" 2>>"$logFile"; then
|
||||
|
Loading…
Reference in New Issue
Block a user