aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-03 04:15:25 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-03 04:15:25 +0000
commit34c1449414b3de24183785940b8294a4687e7dab (patch)
treeaf30e562ca66613e90335f7a2ad1a058ec65be71
parentf8cf74cb7c8f0f05a5a718ce56620de45199b773 (diff)
downloadnumlock-34c1449414b3de24183785940b8294a4687e7dab.tar
numlock-34c1449414b3de24183785940b8294a4687e7dab.tar.gz
numlock-34c1449414b3de24183785940b8294a4687e7dab.tar.bz2
numlock-34c1449414b3de24183785940b8294a4687e7dab.tar.xz
numlock-34c1449414b3de24183785940b8294a4687e7dab.zip
fix syntax
-rwxr-xr-xnumlock.xinit4
1 files changed, 1 insertions, 3 deletions
diff --git a/numlock.xinit b/numlock.xinit
index 3dba770..22a4895 100755
--- a/numlock.xinit
+++ b/numlock.xinit
@@ -19,12 +19,10 @@
# automatic execution of numlock.
#
DISPHOST=${DISPLAY%%:*}
-if [ "$DISPHOST" = "" -o "$DISPHOST" = "localhost" -o "$DISPHOST" = "$HOSTNAME" ]
- then
+if [ "$DISPHOST" = "" -o "$DISPHOST" = "localhost" -o "$DISPHOST" = "$HOSTNAME" ]; then
if [ -f /var/lock/subsys/numlock -a -x /usr/bin/enable_X11_numlock ]; then
/usr/bin/enable_X11_numlock
fi
- else
fi
# numlock ends here