From: Harald Hoyer Date: Thu, 29 Mar 2012 13:20:41 +0000 (+0200) Subject: dracut-functions.sh: fix get_fs_env() X-Git-Tag: 018~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66b750a08e5ac8d109376131f3135ceec12be2d6;p=thirdparty%2Fdracut.git dracut-functions.sh: fix get_fs_env() --- diff --git a/dracut-functions.sh b/dracut-functions.sh index a9156148a..4fb3c726b 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -177,14 +177,14 @@ get_fs_env() { [[ $ID_FS_TYPE ]] && return 0 if [[ -x /lib/udev/vol_id ]]; then - eval $(/lib/udev/vol_id --export $1 | + eval $(/lib/udev/vol_id --export $1 \ | while read line; do strstr "$line" "ID_FS_TYPE=" && echo $line; done) [[ $ID_FS_TYPE ]] && return 0 fi if find_binary blkid >/dev/null; then - eval $(blkid -o udev $1 | + eval $(blkid -o udev $1 \ | while read line; do strstr "$line" "ID_FS_TYPE=" && echo $line; done)