From f41b029adedf98a01343ce19539111f71013911e Mon Sep 17 00:00:00 2001 From: contradict Date: Sat, 12 Jan 2013 19:22:23 -0800 Subject: [PATCH] Eliminiate excess output from machine explorer command -v emits a string to stdout, silence this since we are only interested in the return code. --- cdist/conf/explorer/machine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/explorer/machine b/cdist/conf/explorer/machine index bb6e0beb..d4a0e106 100755 --- a/cdist/conf/explorer/machine +++ b/cdist/conf/explorer/machine @@ -22,6 +22,6 @@ # # -if command -v uname; then +if command -v uname 2>&1 >/dev/null; then uname -m fi