From 31d8a4030188d470dfb22bc69e2e50b474f425de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 13 Sep 2024 20:37:00 +0200 Subject: [PATCH] maintenance.sh:Append to logfile --- maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance.sh b/maintenance.sh index 43c0b84..82367ef 100755 --- a/maintenance.sh +++ b/maintenance.sh @@ -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 }