mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 18:40:24 +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
|
||||
fi
|
||||
shift $(( OPTIND - 1 ))
|
||||
if [ $# -eq 0 ] ; then
|
||||
echo "${0}: no input files given" >&2
|
||||
help
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create temporary working directory
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user