vinfo() reads input from stdin, not from arguments.

This is a regression introduced by:

        commit 982d59afea5eac202c8a47f09d06d240af753a24
        Author: Harald Hoyer <[email protected]>
        Date:   Tue May 22 14:52:36 2012 +0200

            drop 10rpmversion module and introduce /etc/initrd-release


Signed-off-by: Cong Wang <[email protected]>
Cc: Harald Hoyer <[email protected]>

---
diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh
index b8736ec..1146a86 100755
--- a/modules.d/99base/init.sh
+++ b/modules.d/99base/init.sh
@@ -90,7 +90,7 @@ else
 fi
 
 [ -f /etc/initrd-release ] && . /etc/initrd-release
-[ -n "$VERSION" ] && vinfo "dracut-$VERSION"
+[ -n "$VERSION" ] && echo "dracut-$VERSION" | vinfo
 
 source_conf /etc/conf.d
 
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to