From: Florian Fainelli Date: Thu, 21 Sep 2006 13:59:20 +0000 (+0000) Subject: Standardize shell script, closes #788 X-Git-Tag: reboot~30718^2~162 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ac4b0b4122d0f4bba6ee6df6f2f9773e2d6d6179;p=oweals%2Fopenwrt.git Standardize shell script, closes #788 SVN-Revision: 4807 --- diff --git a/openwrt/scripts/config/lxdialog/check-lxdialog.sh b/openwrt/scripts/config/lxdialog/check-lxdialog.sh index 120d624e67..df81c44558 100644 --- a/openwrt/scripts/config/lxdialog/check-lxdialog.sh +++ b/openwrt/scripts/config/lxdialog/check-lxdialog.sh @@ -57,7 +57,7 @@ usage() { printf "Usage: $0 [-check compiler options|-header|-library]\n" } -if [ $# == 0 ]; then +if [ $# -eq 0 ]; then usage exit 1 fi