From 14ff6400c90eb034c7d67ddd6e7bf782fbc65be0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 28 Jun 2014 09:46:30 -0400 Subject: install-lilo.sh: Fix argc check. --- 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 -- cgit v0.9.1