From: Ian Kelling Date: Mon, 5 Sep 2016 01:48:55 +0000 (-0700) Subject: fix arg parsing X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=beeb3f8f469421f9b926ab6b5763a099086c6f2b;p=vpn-setup fix arg parsing --- diff --git a/vpn-mk-client-cert b/vpn-mk-client-cert index 9dc75f4..306cb22 100755 --- a/vpn-mk-client-cert +++ b/vpn-mk-client-cert @@ -38,7 +38,7 @@ case $1 in -h|--help) usage 0 ;; esac -(($# <= 1)) || usage 1 +(($# >= 1)) || usage 1 host=$1 shell="bash -c"