mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
check if running
Signed-off-by: Kieran O Mahony <Kieran.O.Mahony1@ibm.com>
This commit is contained in:
parent
fee6a44fcd
commit
f9f4ad5ca1
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ function networkUp() {
|
|||
function createChannel() {
|
||||
# Bring up the network if it is not already up.
|
||||
|
||||
if [ ! -d "organizations/peerOrganizations" ]; then
|
||||
if [ ! -d "organizations/peerOrganizations" ] || ! $CONTAINER_CLI info > /dev/null 2>&1; then
|
||||
infoln "Bringing up network"
|
||||
networkUp
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue