From 4f8032e57760eb0786df54c188787bf6fe646934 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 2 Jan 2013 13:54:34 -0800 Subject: [PATCH] cli-test: Error checking in mongo message test. --- admin/cli-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/cli-test.sh b/admin/cli-test.sh index 8f222856c7..3e0f24294d 100755 --- a/admin/cli-test.sh +++ b/admin/cli-test.sh @@ -128,7 +128,7 @@ echo "... mongo message" # Use perl to listen on a port, so that Mongo fails to start up. (We used to use # nc here, but the way you specify listener ports to nc varies between # platforms. Bleah.) -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' & +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' & PERL_PID=$! $METEOR -p $PORT > error.txt || true