diff options
-rwxr-xr-x | debvm-waitssh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debvm-waitssh b/debvm-waitssh index 246db17..e4f05ee 100755 --- a/debvm-waitssh +++ b/debvm-waitssh @@ -147,7 +147,7 @@ case "$HOST" in *@*) if [ "$VERBOSITY" -ge 1 ]; then echo "$0: hostname '$HOST' must not contain the '@' character. No username is required." >&2 fi - exit 1 + exit 2 ;; esac @@ -160,7 +160,7 @@ case "$PORT" in *[!0123456789]*|0?*|""|??????*) if [ "$VERBOSITY" -ge 1 ]; then echo "$0: port '$PORT' is not a positive integer between 1 and 99999" >&2 fi - exit 1 + exit 2 ;; esac |