maintenance.sh:Append to logfile
This commit is contained in:
parent
541bfbbdde
commit
31d8a40301
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ update_app_levels() {
|
|||
safe_run() {
|
||||
logfile="$SCRIPT_DIR/$1.log"
|
||||
error_msg_var="${1}_error_msg"
|
||||
if ! "$@" &> "$logfile"; then
|
||||
if ! "$@" &>> "$logfile"; then
|
||||
sendxmpppy "${!error_msg_var}"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue