Merge pull request #130 from konstruktoid/issue_129

ps flags not in output
This commit is contained in:
Thomas Sjögren 2016-03-31 20:53:48 +02:00
commit 55a796e4cf

View file

@ -62,7 +62,7 @@ else
fail=0
printcheck=0
for c in $containers; do
processes=$(docker exec "$c" ps -el 2>/dev/null | tail -n +2 | grep -c -v "ps -el")
processes=$(docker exec "$c" ps -el 2>/dev/null | tail -n +2 | grep -c -v 'ps')
if [ "$processes" -gt 1 ]; then
# If it's the first container, fail the test
if [ $fail -eq 0 ]; then