aboutsummaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/chksession8
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/chksession b/sbin/chksession
index d0bec64..db3bdd4 100644
--- a/sbin/chksession
+++ b/sbin/chksession
@@ -123,7 +123,13 @@ if ($xsession) {
print $script{$xsession}
} else {
print "xterm -geometry 100x25+0+0 &\n";
- -x '/usr/X11R6/bin/icewm' ? print "icewm\n" : print "xterm -geometry 67x14+384+446\n";
+ if ( -x '/usr/X11R6/bin/icewm' ) {
+ print "icewm\n";
+ } elsif ( -x '/usr/X11R6/bin/twm' ) {
+ print "twm\n";
+ } else {
+ print "xterm -geometry 67x14+384+446\n";
+ }
}
exit (0);
}