Skip to content
This repository
Browse code

cli-test: Error checking in mongo message test.

  • Loading branch information...
commit 4f8032e57760eb0786df54c188787bf6fe646934 1 parent 66b0e7c
David Glasser glasser authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  admin/cli-test.sh
2  admin/cli-test.sh
@@ -128,7 +128,7 @@ echo "... mongo message"
128 128 # Use perl to listen on a port, so that Mongo fails to start up. (We used to use
129 129 # nc here, but the way you specify listener ports to nc varies between
130 130 # platforms. Bleah.)
131   -perl -MIO::Socket::INET -e '$a = IO::Socket::INET->new(LocalPort=>('$PORT' + 2),LocalAddr=>"127.0.0.1",Proto=>"tcp",ReuseAddr=>1,Listen=>5); sleep' &
  131 +perl -MIO::Socket::INET -e '$a = IO::Socket::INET->new(LocalPort=>('$PORT' + 2),LocalAddr=>"127.0.0.1",Proto=>"tcp",ReuseAddr=>1,Listen=>5) or die; sleep' &
132 132 PERL_PID=$!
133 133
134 134 $METEOR -p $PORT > error.txt || true

0 comments on commit 4f8032e

Please sign in to comment.
Something went wrong with that request. Please try again.