Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xinitrc')
-rw-r--r--scripts/xinitrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xinitrc b/scripts/xinitrc
index 345a8a7..686bbe6 100644
--- a/scripts/xinitrc
+++ b/scripts/xinitrc
@@ -47,7 +47,7 @@ elif [ ! -z $PROFILE ]; then
export SUGAR_PROFILE=$PROFILE
fi
-if [ -n $SUGAR_XKBCONFIG ]; then
+if [ ! -z $SUGAR_XKBCONFIG ]; then
cat $SUGAR_XKBCONFIG | xkbcomp - $DISPLAY 2> /dev/null
rm $SUGAR_XKBCONFIG
fi