Message ID | 20240531110605.243346-1-liu.ming50@gmail.com |
---|---|
State | New |
Headers | show |
Series | initramfs-framework:init: fix a error message | expand |
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init index e3d8caa0e1..41e2d28b9d 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/init +++ b/meta/recipes-core/initrdscripts/initramfs-framework/init @@ -62,7 +62,7 @@ fatal() { if [ -n "$bootparam_init_fatal_reboot" ]; then reboot -f elif [ -n "$bootparam_init_fatal_sh" ]; then - sh + sh +m else while [ "true" ]; do sleep 3600