diff --git a/tests/5_container_runtime.sh b/tests/5_container_runtime.sh index a9ff634..156cba3 100644 --- a/tests/5_container_runtime.sh +++ b/tests/5_container_runtime.sh @@ -172,10 +172,10 @@ else fail=0 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 warn "$check_5_7" - warn " * Docker exec failed: $c" + warn " * Docker exec fails: $c" fail=1 fi