Skip to content

Commit

Permalink
supress port check error message #8
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Aug 17, 2022
1 parent e4feba0 commit 626d0a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash
# runx: Provide an X server in Cygwin, MSYS2 or WSL.

Version="v0.4.11"
Version="v0.4.12"

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

Expand Down

0 comments on commit 626d0a9

Please sign in to comment.