mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 11:00:27 +03:00
[build] Fail gracefully when no input files are given to genfsimg
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -137,6 +137,11 @@ if [ -z "${OUTFILE}" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
shift $(( OPTIND - 1 ))
|
shift $(( OPTIND - 1 ))
|
||||||
|
if [ $# -eq 0 ] ; then
|
||||||
|
echo "${0}: no input files given" >&2
|
||||||
|
help
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Create temporary working directory
|
# Create temporary working directory
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user