mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[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>
This commit is contained in:
committed by
Marty Connor
parent
9feb7b38a5
commit
70537cbe35
@@ -23,7 +23,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# There should either be mkisofs or the compatible genisoimage program
|
# 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 ]
|
if [ -z $mkisofs ]
|
||||||
then
|
then
|
||||||
echo $0: mkisofs or genisoimage not found, please install or set PATH
|
echo $0: mkisofs or genisoimage not found, please install or set PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user