Blame 0050-dracut-functions.sh-clarify-instmods-error-message.patch

Harald Hoyer 75f812
From 19b5c10963e80cc6899ee4131474c1955754f8c6 Mon Sep 17 00:00:00 2001
Harald Hoyer 75f812
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 75f812
Date: Tue, 28 May 2013 14:25:49 +0200
Harald Hoyer 75f812
Subject: [PATCH] dracut-functions.sh: clarify instmods() error message
Harald Hoyer 75f812
Harald Hoyer 75f812
---
Harald Hoyer 75f812
 dracut-functions.sh | 4 ++--
Harald Hoyer 75f812
 1 file changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer 75f812
Harald Hoyer 75f812
diff --git a/dracut-functions.sh b/dracut-functions.sh
Harald Hoyer 75f812
index 96d3c6e..4a0e81a 100755
Harald Hoyer 75f812
--- a/dracut-functions.sh
Harald Hoyer 75f812
+++ b/dracut-functions.sh
Harald Hoyer 75f812
@@ -1608,7 +1608,7 @@ instmods() {
Harald Hoyer 75f812
             while read _mod; do
Harald Hoyer 75f812
                 inst1mod "${_mod%.ko*}" || {
Harald Hoyer 75f812
                     if [[ "$_check" == "yes" ]]; then
Harald Hoyer 75f812
-                        [[ "$_silent" == "no" ]] && dfatal "Failed to install $_mod"
Harald Hoyer 75f812
+                        [[ "$_silent" == "no" ]] && dfatal "Failed to install module $_mod"
Harald Hoyer 75f812
                         return 1
Harald Hoyer 75f812
                     fi
Harald Hoyer 75f812
                 }
Harald Hoyer 75f812
@@ -1617,7 +1617,7 @@ instmods() {
Harald Hoyer 75f812
         while (($# > 0)); do  # filenames as arguments
Harald Hoyer 75f812
             inst1mod ${1%.ko*} || {
Harald Hoyer 75f812
                 if [[ "$_check" == "yes" ]]; then
Harald Hoyer 75f812
-                    [[ "$_silent" == "no" ]] && dfatal "Failed to install $1"
Harald Hoyer 75f812
+                    [[ "$_silent" == "no" ]] && dfatal "Failed to install module $1"
Harald Hoyer 75f812
                     return 1
Harald Hoyer 75f812
                 fi
Harald Hoyer 75f812
             }