Skip to content

Commit

Permalink
[notify] Add app name to notify-send call (issue #76).
Browse files Browse the repository at this point in the history
  • Loading branch information
liske committed Dec 25, 2019
1 parent 3e4a1ee commit 5b770bd
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 @@ -14,6 +14,8 @@ needrestart (3.5) unstable; urgency=high
(github issue #155 by Fenhl @fenhl and Christian @git-developer)
[uCode] Support local override for iucode_tool call.
(github issue #148 by @mphilipps and Marc Dequènes (Duck) @duck-rh)
- [notify] Add app name to notify-send call.
(github issue #76 by @Vladimir-csp)

* Fixes:
- [Core] Do not restart networking.service.
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 @@ -48,7 +48,7 @@ case "$NR_SESSION" in
MSGBODY=$(gettext 'Your session is running obsolete binaries or libraries as listed below.
<i><b>Please consider a relogin or restart of the affected processes!</b></i>')'\n'$(cat)

su -p -s /bin/sh -c "$NSEND -u critical -i dialog-warning \"$MSGTITLE\" \"$MSGBODY\"" "$NR_USERNAME"
su -p -s /bin/sh -c "$NSEND -a needrestart -u critical -i dialog-warning \"$MSGTITLE\" \"$MSGBODY\"" "$NR_USERNAME"
;;
*)
echo "[$0] skip session '$NR_SESSION'" 1>&2
Expand Down

0 comments on commit 5b770bd

Please sign in to comment.