Skip to content

Commit 59b6646

Browse files
52-dracut.install: fix error on remove
Closes: https://bugs.gentoo.org/961529 Signed-off-by: Nowa Ammerlaan <[email protected]>
1 parent efd545a commit 59b6646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hooks/systemd/52-dracut.install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
COMMAND=${1:?}
44
KERNEL_VERSION=${2:?}
55
#shellcheck disable=SC2034
6-
BOOT_DIR_ABS=${3:?}
7-
KERNEL_IMAGE=${4:?}
6+
BOOT_DIR_ABS=${3}
7+
KERNEL_IMAGE=${4}
88

99
# If the initrd was provided on the kernel command line, we shouldn't generate our own.
1010
if [[ "${COMMAND}" != "add" || "${#}" -gt 4 ]]; then

0 commit comments

Comments
 (0)