From 34c1449414b3de24183785940b8294a4687e7dab Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 3 Apr 2008 04:15:25 +0000 Subject: fix syntax --- numlock.xinit | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1