Skip to content

Commit eb75861

Browse files
committed
fix(dracut-systemd): remove unused argument
The `generator_wait_for_dev` function of the dracut rootfs systemd generator only uses the first argument. Moreover, RDRETRY is unset at this point.
1 parent a109c61 commit eb75861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules.d/98dracut-systemd/rootfs-generator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ esac
104104
GENERATOR_DIR="$1"
105105

106106
if [ "$rootok" = "1" ]; then
107-
generator_wait_for_dev "${root#block:}" "$RDRETRY"
107+
generator_wait_for_dev "${root#block:}"
108108
generator_fsck_after_pre_mount "${root#block:}"
109109
strstr "$(cat /proc/cmdline)" 'root=' || generator_mount_rootfs "${root#block:}" "$(getarg rootfstype=)" "$(getarg rootflags=)"
110110
fi

0 commit comments

Comments
 (0)