mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-29 16:39:40 +00:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user