From 70537cbe3504b90f3b524cec1bb3867b04514c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Jaroszy=C5=84ski?= Date: Mon, 29 Mar 2010 02:15:03 +0200 Subject: [PATCH] [util] Hide an expected error from the 'which' command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr JaroszyƄski Signed-off-by: Marty Connor --- src/util/geniso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/geniso b/src/util/geniso index 3804c8e7..2a70b357 100755 --- a/src/util/geniso +++ b/src/util/geniso @@ -23,7 +23,7 @@ then fi # There should either be mkisofs or the compatible genisoimage program -mkisofs=`which mkisofs genisoimage | head -n1` +mkisofs=`which mkisofs genisoimage 2>/dev/null | head -n1` if [ -z $mkisofs ] then echo $0: mkisofs or genisoimage not found, please install or set PATH