commit 2100e35252b1e828c173f3a2b38d364d8bfcc015 Author: Isis Lovecruft isis@torproject.org Date: Tue May 20 18:12:55 2014 +0000
Fix scripts/make-ssl-cert to use `exit 1` after wrong number of args. --- scripts/make-ssl-cert | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/make-ssl-cert b/scripts/make-ssl-cert index ea2fc39..ce8f7c2 100755 --- a/scripts/make-ssl-cert +++ b/scripts/make-ssl-cert @@ -40,7 +40,8 @@ function usage () { printf "for automation and CI tests." printf "\n" } -if test "$#" -gt "1" ; then usage ; fi + +if test "$#" -ge 1 ; then usage ; exit 1 ; fi
# Go to the toplevel directory of the BridgeDB repo: cd $REPO_PATH
tor-commits@lists.torproject.org