We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0409dc commit e0a0545Copy full SHA for e0a0545
1 file changed
tests/testlib.bash
@@ -99,9 +99,9 @@ function setup() {
99
if [ "x$DISPLAY" == "x" ] ; then
100
installVnc
101
futureVnc=":9"
102
- if ps -aux | grep -v -e grep | grep -e "$futureVnc" ; then
+ if ps -aux | grep -v -e grep | grep -e "vnc.*$futureVnc" ; then
103
echo "special vncserver/vncsession seems to be running"
104
- $LOCAL_VNC -kill $futureVnc
+ $LOCAL_VNC -kill $futureVnc || :
105
fi
106
$LOCAL_VNC $futureVnc << HeredocDelimiter
107
123qwe
0 commit comments