dracut-functions.sh: clarify instmods() error message

master
Harald Hoyer 2013-05-28 14:25:49 +02:00
parent bcfbddefe1
commit 19b5c10963
1 changed files with 2 additions and 2 deletions

View File

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