From 6efd48d3c626d4974a17b64f5216165b2299481e Mon Sep 17 00:00:00 2001 From: Hartmut Bauer Date: Sun, 11 May 2025 13:48:47 +0200 Subject: [PATCH] fix log overwrite --- main.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.inc.sh b/main.inc.sh index be5eccb..0a94f3f 100755 --- a/main.inc.sh +++ b/main.inc.sh @@ -200,7 +200,7 @@ do_start_stop_containers() { update_services() { log $DEBUG "$DBG update_services()" mail_log $INFO "$INF update services" - local upd=$($CONTAINER_SVC_UPDATE_USER 2>&1 | tee $LOG_FILE | egrep 'registry\s+true' | sed 's/^.* \([^[:space:]]*\/[^[:space:]]*\).*$/\1/g') + local upd=$($CONTAINER_SVC_UPDATE_USER 2>&1 | tee -a $LOG_FILE | egrep 'registry\s+true' | sed 's/^.* \([^[:space:]]*\/[^[:space:]]*\).*$/\1/g') check_pipe_rc ${PIPESTATUS[@]} local rc=$? for i in $upd; do