diff options
-rwxr-xr-x | src/kernel-install/kernel-install.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel-install/kernel-install.in b/src/kernel-install/kernel-install.in index 96084860fd..6f5803584e 100755 --- a/src/kernel-install/kernel-install.in +++ b/src/kernel-install/kernel-install.in @@ -83,7 +83,7 @@ if [ "${0##*/}" = "installkernel" ]; then # kernel's install.sh invokes us as # /sbin/installkernel <version> <vmlinuz> <map> <installation-dir> # We ignore the last two arguments. - set -- "$1" + set -- "${1:?}" "${2:?}" else COMMAND="$1" [ $# -ge 1 ] && shift |