This was caused by change in 'systemctl list-units --type target'
formatting output in recent systemd versions
Use a better method to determine current target,
compatible with Leap.
This bug caused the script to misbehave with
"Logout to switch graphics" not triggered
This was caused by change in 'systemctl list-units --type target' formatting output in recent systemd versions Use a better method to determine current target, compatible with Leap. This bug caused the script to misbehave with "Logout to switch graphics" not triggered