update 5.7 exec_check to new style

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2015-06-01 22:44:37 +02:00
parent e29a886254
commit 787f4325b2

View file

@ -172,10 +172,10 @@ else
fail=0 fail=0
for c in $containers; do for c in $containers; do
docker exec "$c" ps -el 2>/dev/null exec_check=$(docker exec "$c" ps -el 2>/dev/null)
if [ $? -eq 255 ]; then if [ $? -eq 255 ]; then
warn "$check_5_7" warn "$check_5_7"
warn " * Docker exec failed: $c" warn " * Docker exec fails: $c"
fail=1 fail=1
fi fi