From 01bc7dd3c4d928b58b93ffa9e2569d7d2d218b79 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Thu, 8 Jun 2017 14:06:10 +0200 Subject: [PATCH] test: log exit code in cluster.bash --- test/bin/cluster.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bin/cluster.bash b/test/bin/cluster.bash index 91d5b1e431..b776f1a2f1 100755 --- a/test/bin/cluster.bash +++ b/test/bin/cluster.bash @@ -61,7 +61,7 @@ run() { rm -rf "${path}" mkdir -p "${path}" config $port - $CONSUL agent -config-dir "${path}" 2>&1 | tee "${path}/log" & + ( $CONSUL agent -config-dir "${path}" 2>&1 | tee "${path}/log" ; echo "Exit code: $?" >> "${path}/log" ) & jobs="$jobs $!" }