From 5b1e3c7bf17fcdbaade18e43137fda4bcbfe1e53 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Thu, 8 Dec 2011 13:20:12 +0000 Subject: [PATCH] return 1 if transport open fails git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211868 13f79535-47bb-0310-9956-ffa450edef68 --- test/cpp/src/TestClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/src/TestClient.cpp b/test/cpp/src/TestClient.cpp index c1d6e070..ed560cb5 100755 --- a/test/cpp/src/TestClient.cpp +++ b/test/cpp/src/TestClient.cpp @@ -229,7 +229,7 @@ int main(int argc, char** argv) { transport->open(); } catch (TTransportException& ttx) { printf("Connect failed: %s\n", ttx.what()); - continue; + return 1; } /** -- 2.17.1