summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-10-19 14:09:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-10-19 14:09:34 +0000
commitce8ad8bd402baed5c48becc6aad155d838dea21a (patch)
tree5fb52cb3b93053efe68e6967e0345fae7e0f1005
parent3a24f89c2275eaf29b128e976d4daacd55134572 (diff)
downloadalpine-conf-ce8ad8bd402baed5c48becc6aad155d838dea21a.zip
update-kernel: fix warning extra firmware "" not found
fixes #10526
-rw-r--r--update-kernel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-kernel.in b/update-kernel.in
index d9b774f..6efb3cb 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -291,7 +291,7 @@ for _xfw in "$modloopfw"; do
if [ -f "$ROOT/lib/firmware/$_xfw" ]; then
install -pD "$ROOT/lib/firmware/$_xfw" \
"$MODLOOP"/modules/firmware/"$_xfw"
- else
+ elif [ -n "$_xfw" ]; then
echo "Warning: extra firmware \"$_xfw\" not found!"
fi
done