Skip to contentSkip to conversation

initramfs-framework:init: fix a error message

PATCH New [email protected] 1 participant 1 message May 31, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 initramfs-framework:init: fix a error message

From: Ming Liu <[email protected]>

Fix a following error message when entering init fatal console:

```
can't access tty: job control turned off
```
---
 meta/recipes-core/initrdscripts/initramfs-framework/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/initrdscripts/initramfs-framework/init +1 -1
index e3d8caa0e1..41e2d28b9d 100755
@@ -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
Signature · 1 line
2.34.1