]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions.sh: fix get_fs_env()
authorHarald Hoyer <harald@redhat.com>
Thu, 29 Mar 2012 13:20:41 +0000 (15:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 29 Mar 2012 13:20:41 +0000 (15:20 +0200)
dracut-functions.sh

index a9156148a1c8dc16ac47b41514ae9e812e5e0527..4fb3c726b17d2a569b7666fe5fca3e55fdb77fd7 100755 (executable)
@@ -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)