Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fcb663b authored by Anton Ivanov's avatar Anton Ivanov Committed by Richard Weinberger
Browse files

um: Missing pipe handling



UML does not handle sigpipe. As a result when running it under
expect or redirecting the IO from the console to an external program
it will crash if the program stops or exits.

Signed-off-by: default avatarAnton Ivanov <antivano@cisco.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 0d71832e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@ int __init main(int argc, char **argv, char **envp)
#endif

	do_uml_initcalls();
	change_sig(SIGPIPE, 0);
	ret = linux_main(argc, argv);

	/*