From f7d8bb23b64163a537845084ff262bd9a2d484ed Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 25 May 2015 16:15:48 -0400 Subject: cmd/installer-pc: Fix argument count check --- (limited to 'lib/cmd') 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 -- cgit v0.9.1