Fix incorrect usage of login_session_wm. Type of session does not contain executable

for run session but base name of session desktop file.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 9 years ago
parent 226e5fc716
commit adbe9f7f5f

@ -574,7 +574,7 @@ kg_main( const char *argv0 )
}
if (twin) {
if (twin->isRunning()) {
if (login_session_wm.endsWith("/starttde") || (login_session_wm == "failsafe")) {
if ((login_session_wm == "tde") || (login_session_wm == "trinity") || (login_session_wm == "failsafe")) {
twin->closeStdin();
twin->detach();
dcop->detach();

Loading…
Cancel
Save