notify-send exit code doesn't match result
Bug #1970647 reported by
Marco Trevisan (Treviño)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnotify (Ubuntu) |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Focal |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Jammy |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) |
Bug Description
No error exit code is returned by notify-send on failure
[ Test case ]
1. Run:
env DBUS_SESSION_
2. In a terminal "error" should be printed
[ Regression potential ]
Programs relying on notify-send may have errors when they did not.
Changed in libnotify (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in libnotify (Ubuntu Jammy): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in libnotify (Ubuntu Focal): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in libnotify (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
To post a comment you must log in.
This bug was fixed in the package libnotify - 0.7.11-1
---------------
libnotify (0.7.11-1) unstable; urgency=medium
* New upstream release: _CHECK_ LEVEL instead of override libnotify4. symbols: Add new symbols
- notify-send: Support for replacing an existing notification (LP: #257135,
Closes: #559544)
- notify-send: Support commas in icon filenames (LP: #674642)
- notify-send: Give failing exit code if showing notification fails
(LP: #1970647, Closes: #609556, Closes: #679653)
- notify-send: Add support for notification actions and responses
(Closes: #571181)
- notify-send: Add option to wait until notification has been closed
- notify-send: Add support for boolean hints (Closes: #636343)
- docs/notify-send: Add missing --app-name to manpage (Closes: #756151)
* debian/rules: Use DPKG_GENSYMBOLS
* debian: Use debhelper 13, and remove explicit --fail-missing
* debian/control: Update Standards-Version, no change needed
* debian/
* debian/patches: Add transient option to man
-- Marco Trevisan (Treviño) <email address hidden> Wed, 27 Apr 2022 21:47:25 +0200