-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(yggctl): prefer system bus when run as root
yggctl will attempt to connect to the session bus only if DBUS_SESSION_BUS_ADDRESS is non-empty and the effective UID of the process is greater than zero. This results in root invocations of yggctl preferring the system bus over the session bus. Signed-off-by: Link Dupont <link@sub-pop.net>
- Loading branch information
Showing
1 changed file
with
10 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters