fix arg parsing
authorIan Kelling <ian@iankelling.org>
Mon, 5 Sep 2016 01:48:55 +0000 (18:48 -0700)
committerIan Kelling <ian@iankelling.org>
Mon, 5 Sep 2016 01:48:55 +0000 (18:48 -0700)
vpn-mk-client-cert

index 9dc75f4c46395ce2f89dcb41d7fc9c31fbb69d83..306cb22fdb004d06cfd515edbd8e07042144b83d 100755 (executable)
@@ -38,7 +38,7 @@ case $1 in
     -h|--help) usage 0 ;;
 esac
 
-(($# <= 1)) || usage 1
+(($# >= 1)) || usage 1
 
 host=$1
 shell="bash -c"