On focal:

❯ apt-cache policy libnotify-bin
libnotify-bin:
  Installato: 0.7.9-1ubuntu3.20.04.2
  Candidato:  0.7.9-1ubuntu3.20.04.2
  Tabella versione:
 *** 0.7.9-1ubuntu3.20.04.2 400
        400 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     0.7.9-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

❯  env DBUS_SESSION_BUS_ADDRESS= notify-send foo bar || echo exit-error
L'indirizzo fornito è vuoto
exit-error

** Description changed:

  No error exit code is returned by notify-send on failure
  
  [ Test case ]
  
  1. Run:
-    jhbuild run env DBUS_SESSION_BUS_ADDRESS= notify-send foo bar || echo error
+    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.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

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

Reply via email to