mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 11:22:43 +03:00
init-early: use posix printf instead of echo -n
This commit is contained in:
parent
38cbdee6a2
commit
c055e974f0
@ -31,11 +31,11 @@ install_hotplugs() {
|
||||
|
||||
for module in $HOTPLUG_MODULES; do
|
||||
result='-'
|
||||
echo -n " $module"
|
||||
printf " $module"
|
||||
if type "mod__$module" | grep -q "is a function"; then
|
||||
"mod__$module" && result='+' || { result='!'; rc=1; }
|
||||
fi
|
||||
echo -n "($result)"
|
||||
printf "($result)"
|
||||
done
|
||||
return $rc
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user