Thanks! I simplified the patch a bit to avoid moving the whole function
(I just added a forward declaration) and another "ret" variable, but the
spirit of it works very well. Tested with
sudo dbus-monitor --system
"type='signal',sender='org.freedesktop.login1',interface='org.freedesktop.login1.Manager'"
and
gdbus call --system --dest org.freedesktop.login1 --object-path
/org/freedesktop/login1 -m org.freedesktop.login1.Manager.Suspend false
** Changed in: systemd (Ubuntu)
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1157122
Title:
PrepareFor{Sleep,Shutdown} (false) signals not emitted
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1157122/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs