Check systemd inhibitors before shutdown/reboot #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently moonset calls systemctl poweroff/reboot directly without checking for active systemd inhibitors. If an inhibitor is active (e.g. a package manager running, an unsaved document), the action either silently fails or shows a generic error.
Desired behavior:
Reference: org.freedesktop.login1.Manager.ListInhibitors on D-Bus