2009-10-20 14:51:30 +08:00
|
|
|
--- a/networking/telnetd.c
|
|
|
|
+++ b/networking/telnetd.c
|
2009-12-08 00:56:04 +08:00
|
|
|
@@ -306,6 +306,7 @@ make_new_session(
|
2009-10-20 14:51:30 +08:00
|
|
|
|
|
|
|
/* Restore default signal handling ASAP */
|
|
|
|
bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
|
|
|
|
+ signal(SIGINT, SIG_DFL);
|
|
|
|
|
|
|
|
/* Make new session and process group */
|
|
|
|
setsid();
|