This bug was fixed in the package libnotify - 0.7.9-1ubuntu3.20.04.2

---------------
libnotify (0.7.9-1ubuntu3.20.04.2) focal; urgency=medium

  * debian: Update references as per ubuntu/focal branching
  * debian/patches: Exit with an error if showing notification fails
    (LP: #1970647)
  * debian/patches: Handle file paths, uris and desktop-ID's in Snapped apps
    (LP: #1802483)

 -- Marco Trevisan (Treviño) <ma...@ubuntu.com>  Wed, 27 Apr 2022
23:42:13 +0200

** Changed in: libnotify (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
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 Released
Status in libnotify source package in Jammy:
  Fix Released

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/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to