From dd34eca46df450e52521e66a55a1ae035b71069f Mon Sep 17 00:00:00 2001 From: Selamanse Date: Mon, 13 Nov 2017 19:01:10 +0100 Subject: [PATCH] Fixes python error msg --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }