https://bugs.kde.org/show_bug.cgi?id=483066
David Edmundson <k...@davidedmundson.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/-/commi | |t/41629e86035e341bb4dea6622 | |36aefdc274e7c30 Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from David Edmundson <k...@davidedmundson.co.uk> --- Git commit 41629e86035e341bb4dea662236aefdc274e7c30 by David Edmundson. Committed on 22/03/2024 at 13:49. Pushed by davidedmundson into branch 'master'. plasma-shutdown: Correclty detect if we're using the legacy session We need different shutdown paths for the systemd and legacy boot. The current code worked by making the systemd call to end the session and checking the return status. This worked for handling the situation where systemd is not installed. It does not capture the case where the systemd boot is explicitly disabled. The call successfully does nothing. Instead replace with an explicit check that our target is activated. Also change to end the plasma-workspace.target as that's semantically more correct given it's the one we started. This is bound to the graphical-session so it ends up being the same thing. M +29 -6 startkde/plasma-shutdown/shutdown.cpp M +1 -0 startkde/plasma-shutdown/shutdown.h https://invent.kde.org/plasma/plasma-workspace/-/commit/41629e86035e341bb4dea662236aefdc274e7c30 -- You are receiving this mail because: You are watching all bug changes.