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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970647

Title:
  notify-send exit code doesn't match result

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1970647/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to