removed whale icon and changed redirection to still show errors

This commit is contained in:
mag37
2025-01-28 21:08:20 +01:00
parent 15ce226a0a
commit 07ad241e9f

View File

@@ -14,7 +14,7 @@ send_notification() {
# Setting the MessageTitle and MessageBody variable here. # Setting the MessageTitle and MessageBody variable here.
MessageTitle="${FromHost} - updates available." MessageTitle="${FromHost} - updates available."
printf -v MessageBody "🐋 Containers on $FromHost with updates available:\n$UpdToString" printf -v MessageBody "Containers on $FromHost with updates available:\n$UpdToString"
# Modify to fit your setup: # Modify to fit your setup:
GotifyToken="Your Gotify token here" GotifyToken="Your Gotify token here"
@@ -24,6 +24,6 @@ send_notification() {
-F "title=${MessageTitle}" \ -F "title=${MessageTitle}" \
-F "message=${MessageBody}" \ -F "message=${MessageBody}" \
-F "priority=5" \ -F "priority=5" \
-X POST "${GotifyUrl}" &> /dev/null -X POST "${GotifyUrl}" 1> /dev/null
} }