@@ -945,10 +945,10 @@ check_mount() {
945
945
946
946
if [[ " $dracutmodules $add_dracutmodules $force_add_dracutmodules " == * \ $_mod \ * ]]; then
947
947
module_check_mount " $_mod " " $_moddir "
948
- ret =$?
948
+ _ret =$?
949
949
950
- # explicit module, so also accept ret =255
951
- [[ $ret == 0 || $ret == 255 ]] || return 1
950
+ # explicit module, so also accept _ret =255
951
+ [[ $_ret == 0 || $_ret == 255 ]] || return 1
952
952
else
953
953
# module not in our list
954
954
if [[ $dracutmodules == all ]]; then
@@ -1012,22 +1012,22 @@ check_module() {
1012
1012
if [[ " $dracutmodules $add_dracutmodules $force_add_dracutmodules " == * \ $_mod \ * ]]; then
1013
1013
if [[ " $dracutmodules $force_add_dracutmodules " == * \ $_mod \ * ]]; then
1014
1014
module_check " $_mod " 1 " $_moddir "
1015
- ret =$?
1015
+ _ret =$?
1016
1016
else
1017
1017
module_check " $_mod " 0 " $_moddir "
1018
- ret =$?
1018
+ _ret =$?
1019
1019
fi
1020
- # explicit module, so also accept ret =255
1021
- [[ $ret == 0 || $ret == 255 ]] || return 1
1020
+ # explicit module, so also accept _ret =255
1021
+ [[ $_ret == 0 || $_ret == 255 ]] || return 1
1022
1022
else
1023
1023
# module not in our list
1024
1024
if [[ $dracutmodules == all ]]; then
1025
1025
# check, if we can and should install this module
1026
1026
module_check " $_mod " 0 " $_moddir "
1027
- ret =$?
1028
- if [[ $ret != 0 ]]; then
1027
+ _ret =$?
1028
+ if [[ $_ret != 0 ]]; then
1029
1029
[[ $2 ]] && return 1
1030
- [[ $ret != 255 ]] && return 1
1030
+ [[ $_ret != 255 ]] && return 1
1031
1031
fi
1032
1032
else
1033
1033
# skip this module
0 commit comments