diff --git a/scripts/_common.sh b/scripts/_common.sh index e9bc8d4..8c01ce3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ NODE_VERSION=4.7.1 checkcmd() { curl -m 1 -s localhost:$port$path/api/v1/info | \ - python -c "import sys, json; print json.load(sys.stdin)['success']" >/dev/null 2>&1 | \ + python -c "import sys, json; print json.load(sys.stdin)['success']" 2>/dev/null | \ grep "True" >/dev/null 2>&1 }