summaryrefslogtreecommitdiffstats
path: root/lib/cmd
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-05-25 16:15:48 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-05-25 16:15:48 (EDT)
commitf7d8bb23b64163a537845084ff262bd9a2d484ed (patch)
tree87dc42f50da3571d46fdc790a02dc1b655275c78 /lib/cmd
parentc95a8c47ff93f4dde6cfd5cf3373571ce68e3b20 (diff)
cmd/installer-pc: Fix argument count check
Diffstat (limited to 'lib/cmd')
-rw-r--r--lib/cmd/installer-pc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cmd/installer-pc.sh b/lib/cmd/installer-pc.sh
index faeceb3..59f7408 100644
--- a/lib/cmd/installer-pc.sh
+++ b/lib/cmd/installer-pc.sh
@@ -43,8 +43,8 @@ cmd_installer_pc_main()
fi
shift $(($OPTIND - 1))
- if [ ${#} -lt 2 ]; then
- print_cmd_usage 'install' >&2
+ if [ ${#} -ne 2 ]; then
+ print_cmd_usage 'installer-pc' >&2
exit 1
fi