mirror of https://github.com/ipxe/ipxe.git
[build] Fail gracefully when no input files are given to genfsimg
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/224/head
parent
05d7591a71
commit
34f51a0dca
|
@ -137,6 +137,11 @@ if [ -z "${OUTFILE}" ]; then
|
|||
exit 1
|
||||
fi
|
||||
shift $(( OPTIND - 1 ))
|
||||
if [ $# -eq 0 ] ; then
|
||||
echo "${0}: no input files given" >&2
|
||||
help
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create temporary working directory
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue