summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/util/genfsimg5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/genfsimg b/src/util/genfsimg
index 85fb006c4..b30ffe44f 100755
--- a/src/util/genfsimg
+++ b/src/util/genfsimg
@@ -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
#