X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Ftlsproxy-add;h=89d64a10ba962c3b8481391921c1913fb4aa1214;hb=58285cca7e83d885f20d34168158a39709fd352b;hp=c838a9a35980c5a1ff5d26ab467287d75ac29960;hpb=506cbe74344581542c5673b69b84363e72d0a3a0;p=tlsproxy%2Ftlsproxy.git diff --git a/src/tlsproxy-add b/src/tlsproxy-add index c838a9a..89d64a1 100755 --- a/src/tlsproxy-add +++ b/src/tlsproxy-add @@ -22,7 +22,7 @@ set -e -if test "$#" -eq 0; then +if test "$#" -ne 1 && test "$#" -ne 2; then echo "Usage: $0 []" echo echo "Add the server certificate (as .pem file) for " @@ -32,7 +32,7 @@ if test "$#" -eq 0; then echo "is read from stdin." echo echo "The server certificate is NOT validated in any way, you must do " - echo "that before using this command or you risk using a insecure " + echo "that before using this command or you risk using an insecure " echo "certificate!" echo echo "Must be run in the tlsproxy directory where other configuration "