Browse Source

[util] Hide an expected error from the 'which' command

Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
tags/v1.20.1
Piotr Jaroszyński 14 years ago
parent
commit
70537cbe35
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/util/geniso

+ 1
- 1
src/util/geniso View File

@@ -23,7 +23,7 @@ then
23 23
 fi
24 24
 
25 25
 # There should either be mkisofs or the compatible genisoimage program
26
-mkisofs=`which mkisofs genisoimage | head -n1`
26
+mkisofs=`which mkisofs genisoimage 2>/dev/null | head -n1`
27 27
 if [ -z $mkisofs ]
28 28
 then
29 29
 	echo $0: mkisofs or genisoimage not found, please install or set PATH

Loading…
Cancel
Save