dracut-functions.sh: degrade info about missing binaries to info
parent
cd501ff74b
commit
83a3cba777
|
|
@ -49,7 +49,7 @@ require_binaries() {
|
||||||
|
|
||||||
for cmd in "$@"; do
|
for cmd in "$@"; do
|
||||||
if ! find_binary "$cmd" &>/dev/null; then
|
if ! find_binary "$cmd" &>/dev/null; then
|
||||||
dwarning "$_module_name: Could not find command '$cmd'!"
|
dinfo "$_module_name: Could not find command '$cmd'!"
|
||||||
((_ret++))
|
((_ret++))
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
@ -73,7 +73,7 @@ require_any_binary() {
|
||||||
done
|
done
|
||||||
|
|
||||||
if (( $_ret != 0 )); then
|
if (( $_ret != 0 )); then
|
||||||
dwarning "$_module_name: Could not find any command of '$@'!"
|
dinfo "$_module_name: Could not find any command of '$@'!"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue