diff options
Diffstat (limited to 'qpid/cpp/src/tests/stop_cluster')
| -rwxr-xr-x | qpid/cpp/src/tests/stop_cluster | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/stop_cluster b/qpid/cpp/src/tests/stop_cluster index f5db5a4488..6afcb527e5 100755 --- a/qpid/cpp/src/tests/stop_cluster +++ b/qpid/cpp/src/tests/stop_cluster @@ -6,11 +6,9 @@ PORTS=`cat cluster.ports` for PORT in $PORTS ; do ../qpidd -qp $PORT || ERROR="$ERROR $PORT" done +rm -f cluster.ports if [ -n "$ERROR" ]; then echo "Errors stopping brokers on ports: $ERROR" - echo $ERROR > cluster.ports exit 1 -else - rm cluster.ports fi |
