diff options
author | Joel Martin <github@martintribe.org> | 2016-08-16 17:34:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 17:34:38 -0500 |
commit | 54fc35248d35d28b5c9430ef3a148bcdb22f6a3e (patch) | |
tree | 7d4029b6a436048f32118e530b3b95fa66728eaa | |
parent | da82b3426c27bf1a79f671c5825d68ab8c0c5d9f (diff) | |
parent | 83d3e02fd90fe29251083447f13ef92acfcfa1a1 (diff) | |
download | novnc-54fc35248d35d28b5c9430ef3a148bcdb22f6a3e.tar.gz |
Merge pull request #640 from nunojusto/patch-1
Update launch.sh
-rwxr-xr-x | utils/launch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/launch.sh b/utils/launch.sh index af350b0..3611954 100755 --- a/utils/launch.sh +++ b/utils/launch.sh @@ -69,7 +69,7 @@ done which netstat >/dev/null 2>&1 \ || die "Must have netstat installed" -netstat -ltn | grep -qs "${PORT} .*LISTEN" \ +netstat -ltn | grep -qs ":${PORT} .*LISTEN" \ && die "Port ${PORT} in use. Try --listen PORT" trap "cleanup" TERM QUIT INT EXIT |