Skip to content

Commit 626d0a9

Browse files
committed
supress port check error message #8
1 parent e4feba0 commit 626d0a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/bash
22
# runx: Provide an X server in Cygwin, MSYS2 or WSL.
33

4-
Version="v0.4.11"
4+
Version="v0.4.12"
55

66
usage() { # Usage information (--help)
77
echo "runx - Run Linux GUI applications on MS Windows.
@@ -280,7 +280,7 @@ check_display() { # Find unused display number
280280
return 1
281281
}
282282
check_displayport() { # Return 0 if display number $1 is in use
283-
</dev/tcp/"$Hostip"/$((6000+${1:-})) >/dev/null 2>&1
283+
(</dev/tcp/"$Hostip"/$((6000+${1:-})) ) >/dev/null 2>&1
284284
}
285285
check_host() { # Check host environment
286286

0 commit comments

Comments
 (0)