--- dracut | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dracut b/dracut index 5cdd313..93ea308 100755 --- a/dracut +++ b/dracut @@ -351,8 +351,8 @@ unset item # make sure that library links are correct and up to date cp -ar /etc/ld.so.conf* "$initdir"/etc mkdir -p "$initdir/var/cache/ldconfig" -ldconfig -r "$initdir" || [[ $UID != "0" ]] && \ - dinfo "ldconfig might need uid=0 (root) for chroot()" +ldconfig -r "$initdir" || { [[ $UID != "0" ]] && \ + dinfo "ldconfig might need uid=0 (root) for chroot()"; } [[ $beverbose = yes ]] && (du -c "$initdir" | sort -n) -- 1.7.3.3 -- 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