This commit is contained in:
sharky committed 2026-10-04 17:16:46 +02:00
1 parent 55f05fe0b9
commit a4ccbd2e34
1 file changed
+9 -2
+9 -2
View File
@@ -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