Need to do the fallback in a list rather than a subshell, or we never
actually set $conffile.
Signed-off-by: David Dillow <dave@thedillows.org>
shift
done
-[[ -f $conffile ]] || ( [[ -f /etc/dracut.conf ]] && conffile="/etc/dracut.conf" )
+[[ -f $conffile ]] || { [[ -f /etc/dracut.conf ]] && conffile="/etc/dracut.conf" }
[[ -f $conffile ]] && . "$conffile"
[[ $dracutmodules_l ]] && dracutmodules=$dracutmodules_l
[[ $omit_dracutmodules_l ]] && omit_dracutmodules=$omit_dracutmodules_l