[PATCH 1/5] dracut-lib.sh: add vwarn() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Similary to vinfo()

Signed-off-by: Michal Soltys <soltys@xxxxxxxx>
---
 modules.d/99base/dracut-lib.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

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;
-- 
1.7.2.1

--
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


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux