From 5d0f58eaab68a38ee5a514f70b10a89db28b0aad Mon Sep 17 00:00:00 2001 From: Yuli Shlosberg Date: Mon, 26 Feb 2018 14:18:08 +0200 Subject: fix docker_run Change-Id: I5dcfa7aaedeaed84ce7600c435a2de86c5ead26e Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg --- sdc-os-chef/scripts/docker_run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sdc-os-chef/scripts') diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh index 026f8e961e..4ccf561032 100755 --- a/sdc-os-chef/scripts/docker_run.sh +++ b/sdc-os-chef/scripts/docker_run.sh @@ -49,7 +49,7 @@ docker logs $1 > ${WORKSPACE}/data/logs/$1_docker.log function probe_cs { cs_stat=false -docker exec -it $1 /var/lib/ready-probe.sh > /dev/null 2>&1 +docker exec $1 /var/lib/ready-probe.sh > /dev/null 2>&1 rc=$? if [[ $rc == 0 ]]; then echo DOCKER start finished in $2 seconds @@ -61,7 +61,7 @@ fi function probe_be { be_stat=false -docker exec -it $1 /var/lib/ready-probe.sh > /dev/null 2>&1 +docker exec $1 /var/lib/ready-probe.sh > /dev/null 2>&1 rc=$? if [[ $rc == 200 ]]; then echo DOCKER start finished in $2 seconds @@ -73,7 +73,7 @@ fi function probe_fe { fe_stat=false -docker exec -it $1 /var/lib/ready-probe.sh > /dev/null 2>&1 +docker exec $1 /var/lib/ready-probe.sh > /dev/null 2>&1 rc=$? if [[ $rc == 200 ]]; then echo DOCKER start finished in $2 seconds -- cgit 1.2.3-korg