On Jammy:
❯ apt-cache policy libnotify4
libnotify4:
Installato: 0.7.9-3ubuntu5.22.04.1
Candidato: 0.7.9-3ubuntu5.22.04.1
Tabella versione:
*** 0.7.9-3ubuntu5.22.04.1 400
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
100 /var/lib/dpkg/status
0.7.9-3ubuntu5 400
400 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
❯ env DBUS_SESSION_BUS_ADDRESS= notify-send foo bar || echo exit-error
The given address is empty
exit-error
** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libnotify in Ubuntu.
https://bugs.launchpad.net/bugs/1970647
Title:
notify-send exit code doesn't match result
Status in libnotify package in Ubuntu:
Fix Released
Status in libnotify source package in Focal:
Fix Committed
Status in libnotify source package in Jammy:
Fix Committed
Bug description:
No error exit code is returned by notify-send on failure
[ Test case ]
1. Run:
env DBUS_SESSION_BUS_ADDRESS= notify-send foo bar || echo error
2. In a terminal "error" should be printed
[ Regression potential ]
Programs relying on notify-send may have errors when they did not.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1970647/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp