mirror of
https://github.com/status-im/consul.git
synced 2025-01-29 23:15:08 +00:00
test: log exit code in cluster.bash
This commit is contained in:
parent
4a223111d2
commit
01bc7dd3c4
@ -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 $!"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user