diff options
Diffstat (limited to '')
-rwxr-xr-x | src/kernel-install/50-depmod.install | 4 | ||||
-rwxr-xr-x | src/kernel-install/90-loaderentry.install | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel-install/50-depmod.install b/src/kernel-install/50-depmod.install index 67319afe61..fdb7545dc9 100755 --- a/src/kernel-install/50-depmod.install +++ b/src/kernel-install/50-depmod.install @@ -18,8 +18,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with systemd; If not, see <https://www.gnu.org/licenses/>. -COMMAND="$1" -KERNEL_VERSION="$2" +COMMAND="${1:?}" +KERNEL_VERSION="${2:?}" case "$COMMAND" in add) diff --git a/src/kernel-install/90-loaderentry.install b/src/kernel-install/90-loaderentry.install index d6b90a7b1d..a640ea42ca 100755 --- a/src/kernel-install/90-loaderentry.install +++ b/src/kernel-install/90-loaderentry.install @@ -18,9 +18,9 @@ # You should have received a copy of the GNU Lesser General Public License # along with systemd; If not, see <https://www.gnu.org/licenses/>. -COMMAND="$1" -KERNEL_VERSION="$2" -ENTRY_DIR_ABS="$3" +COMMAND="${1:?}" +KERNEL_VERSION="${2:?}" +ENTRY_DIR_ABS="${3:?}" KERNEL_IMAGE="$4" INITRD_OPTIONS_SHIFT=4 |