diff options
Diffstat (limited to 'debvm-waitssh')
-rwxr-xr-x | debvm-waitssh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debvm-waitssh b/debvm-waitssh index 9e61a64..82eb14d 100755 --- a/debvm-waitssh +++ b/debvm-waitssh @@ -154,10 +154,10 @@ case "$HOST" in *@*) # We cannot use [!0-9] because that matches on any character (or possibly # multi-character collation element) that sorts in between 0 and 9. case "$PORT" in *[!0123456789]*|0?*|""|??????*) - die "$0: port '$PORT' is not a positive integer between 1 and 65535" + die "$0: port '$PORT' is not an integer between 1 and 65535" ;; esac if test "$PORT" -lt 1 -o "$PORT" -gt 65535; then - die "$0: port '$PORT' is not a positive integer between 1 and 65535" + die "$0: port '$PORT' is not an integer between 1 and 65535" fi now=$(date +%s) |