Just some trivial bashification. --- dracut | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dracut b/dracut index a653981..33d802a 100755 --- a/dracut +++ b/dracut @@ -144,9 +144,9 @@ fi [[ -f $conffile ]] && . "$conffile" # source our config dir -if [ "$confdir" ] && [ -d "$confdir" ]; then +if [[ $confdir && -d $confdir ]]; then for f in "$confdir"/*.conf; do - [ -e "$f" ] && . "$f" + [[ -e $f ]] && . "$f" done fi -- 1.7.2.1 -- 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