]> git.ipfire.org Git - thirdparty/systemd.git/commit
loginctl: enable-linger does not need fallback to XDG_SESSION_ID
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Mon, 18 Sep 2017 17:04:59 +0000 (18:04 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 14 Nov 2017 18:15:33 +0000 (18:15 +0000)
commit545f779f5c5cfac557442910f4182708750facbb
tree737d40d7d6270d89eb1e2a3cc4e27f79b09b6cd1
parent7b33c6228ff26b0bdb8ca5acf50b758c50cc9c6d
loginctl: enable-linger does not need fallback to XDG_SESSION_ID

To maintain consistency with `loginctl user-status`, drop the fallback to
XDG_SESSION_ID for `loginctl enable-linger`.  The fallback was unnecessary
and also incorrect: it passed the numeric value of the session identifier
as a UID value.
src/login/loginctl.c