Skip to content

Commit b12ee55

Browse files
marcosfrmaafeijoo-suse
authored andcommitted
fix(dracut-init.sh): instmods: wrong variable name
It worked most of the time because `dracut-install -o` returns 0 in normal circumstances.
1 parent e78f71b commit b12ee55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dracut-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ instmods() {
11381138
-m "$@"
11391139
fi
11401140

1141-
[[ "$optional" ]] && return 0
1141+
[[ "$_optional" ]] && return 0
11421142
return $_ret
11431143
}
11441144

0 commit comments

Comments
 (0)