Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
pjaroszynski authored and Marty Connor committed Apr 16, 2010
1 parent 9feb7b3 commit 70537cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/geniso
Expand Up @@ -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
Expand Down

0 comments on commit 70537cb

Please sign in to comment.