Need to do the fallback in a list rather than a subshell, or we never actually set $conffile. Signed-off-by: David Dillow <dave@xxxxxxxxxxxxxx> --- dracut | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dracut b/dracut index 0170fbb..0cf00c6 100755 --- a/dracut +++ b/dracut @@ -57,7 +57,7 @@ while (($# > 0)); do 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 -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html