]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions.sh: clarify instmods() error message
authorHarald Hoyer <harald@redhat.com>
Tue, 28 May 2013 12:25:49 +0000 (14:25 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 28 May 2013 12:25:49 +0000 (14:25 +0200)
dracut-functions.sh

index 96d3c6e41892b350727c37dfcf15af571871476f..4a0e81ac1894f7ae0c0b1f5468eaab6c2a2bb1ea 100755 (executable)
@@ -1608,7 +1608,7 @@ instmods() {
             while read _mod; do
                 inst1mod "${_mod%.ko*}" || {
                     if [[ "$_check" == "yes" ]]; then
-                        [[ "$_silent" == "no" ]] && dfatal "Failed to install $_mod"
+                        [[ "$_silent" == "no" ]] && dfatal "Failed to install module $_mod"
                         return 1
                     fi
                 }
@@ -1617,7 +1617,7 @@ instmods() {
         while (($# > 0)); do  # filenames as arguments
             inst1mod ${1%.ko*} || {
                 if [[ "$_check" == "yes" ]]; then
-                    [[ "$_silent" == "no" ]] && dfatal "Failed to install $1"
+                    [[ "$_silent" == "no" ]] && dfatal "Failed to install module $1"
                     return 1
                 fi
             }