summaryrefslogtreecommitdiff
path: root/desktop/ion/xinitrc.ion
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ion/xinitrc.ion')
-rw-r--r--desktop/ion/xinitrc.ion2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/ion/xinitrc.ion b/desktop/ion/xinitrc.ion
index 7c205b5d66..48a25f2892 100644
--- a/desktop/ion/xinitrc.ion
+++ b/desktop/ion/xinitrc.ion
@@ -11,7 +11,7 @@ test -f $sysmodmap && xmodmap $sysmodmap
test -f $userresources && xrdb -merge $userresources
test -f $usermodmap && xmodmap $usermodmap
-if [ -z $DESKTOP_SESSION ]; then
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session ion3
else
exec ion3