systemctl: other wayland sessions should inhibit shutdown, like x11 sessions do ...
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Thu, 16 Nov 2017 10:02:34 +0000 (10:02 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 16 Nov 2017 10:02:34 +0000 (11:02 +0100)
commit28abce5d25111571e89e3b1feb25033131d2ebfb
tree30e34c8acef3eb4cb62cf0c65a61809c4e4c7bef
parent8006aa32ee29538ef1d7978d60d6427a0bf31e80
systemctl: other wayland sessions should inhibit shutdown, like x11 sessions do (#7353)

Update systemctl code to match the manpage for sd_session_get_type().

"wayland" sessions should be treated the same as "x11".  "mir" too, fwiw.
src/systemctl/systemctl.c