Skip to content

Commit

Permalink
[Bug] Remove unsupported HTML markups from notifications (Debian Bug#…
Browse files Browse the repository at this point in the history
…791664 by Ansgar Burchardt <ansgar@debian.org>).
  • Loading branch information
liske committed Jul 19, 2015
1 parent c238bef commit 85b172f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ needrestart (2.3) unstable; urgency=medium
(Debian Bug#791649 by Martin Steigerwald <martin@lichtvoll.de>)
* [Bug] Do not try container detection in user mode.
(Debian Bug#791665 by Ansgar Burchardt <ansgar@debian.org>)
* [Bug] Remove unsupported HTML markups from notifications.
(Debian Bug#791664 by Ansgar Burchardt <ansgar@debian.org>)

-- Thomas Liske <thomas@fiasko-nw.net>

Expand Down
2 changes: 1 addition & 1 deletion ex/notify.d/400-notify-send
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ case "$NR_SESSION" in
echo "[$0] notify user $NR_USERNAME on $DISPLAY" 1>&2

MSGTITLE='Relogin or restarts required!'
MSGBODY="<p>Your session is running obsolete binaries or libraries as listed below.</p><p><i><b>Please consider to relogin or restart the affected programs!</b></i></p>\n\n$(cat)"
MSGBODY="Your session is running obsolete binaries or libraries as listed below.\n<i><b>Please consider to relogin or restart the affected programs!</b></i>\n\n$(cat)"

su -p -s /bin/sh -c "$NSEND -u critical -i dialog-warning \"$MSGTITLE\" \"$MSGBODY\"" "$NR_USERNAME"
;;
Expand Down

0 comments on commit 85b172f

Please sign in to comment.