summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdm/kfrontend/kgapp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp
index 2d630485e..318d6bd07 100644
--- a/tdm/kfrontend/kgapp.cpp
+++ b/tdm/kfrontend/kgapp.cpp
@@ -541,7 +541,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();