silence example check output

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2018-01-18 11:29:20 +01:00
parent 57365ba1e4
commit 2aa9719dd6
2 changed files with 78 additions and 1 deletions

View file

@ -8,7 +8,7 @@ check_c() {
check_c_1() {
check_c_1="C.1 - This is a example check"
totalChecks=$((totalChecks + 1))
if docker info --format='{{ .Architecture }}' | grep 'x86_64'; then
if docker info --format='{{ .Architecture }}' | grep 'x86_64' 2>/dev/null 1>&2; then
pass "$check_c_1"
logjson "c.1" "PASS"
else