summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install-lilo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install-lilo.sh b/install-lilo.sh
index 3ce2a16..9880c58 100644
--- a/install-lilo.sh
+++ b/install-lilo.sh
@@ -8,7 +8,7 @@ main()
[ "x$(id -u)" = 'x0' ] || error 'Must be run as the superuser'
- if [ ${?} -ne 1 ]; then
+ if [ ${#} -ne 1 ]; then
usage >&2
exit 1
fi