From a4ccbd2e34538d5e6d238a7c00e8068e0fb649a4 Mon Sep 17 00:00:00 2001 From: sharky Date: Sun, 4 Oct 2026 17:16:46 +0200 Subject: [PATCH] V14 --- updater.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/updater.sh b/updater.sh index ba1d405..695152a 100644 --- a/updater.sh +++ b/updater.sh @@ -125,7 +125,6 @@ EOF } send_update_notification() { - [[ "$MODE" == "update" ]] || return 0 [[ "$NOTIFY_ENABLED" == "yes" ]] || return 0 if ! ensure_notification_setup; then @@ -142,7 +141,11 @@ send_update_notification() { status="FEHLER" fi - title="Proxmox Updater - $status" + if [[ "$MODE" == "check" ]]; then + title="Proxmox Update-Check - $status" + else + title="Proxmox Updater - $status" + fi message="Proxmox Guest Updater Host: $(hostname) @@ -1216,6 +1219,10 @@ if [[ "$MODE" == "update" ]]; then send_update_notification fi +if [[ "$MODE" == "check" ]]; then + send_update_notification +fi + if (( ERRORS > 0 )); then exit 1 fi