From e639630da41e9d99082506b05fa0dcc2714c0730 Mon Sep 17 00:00:00 2001 From: Michal Soltys Date: Fri, 20 May 2011 17:09:23 +0200 Subject: [PATCH] dracut-lib.sh: add vwarn() function Similary to vinfo() Signed-off-by: Michal Soltys --- modules.d/99base/dracut-lib.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 4d03ed0..e376495 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -272,6 +272,12 @@ info() { echo "dracut: $@" } +vwarn() { + while read line; do + warn $line; + done +} + vinfo() { while read line; do info $line; -- 2.7.4