2009-10-20 14:51:30 +08:00
|
|
|
--- a/networking/telnetd.c
|
|
|
|
+++ b/networking/telnetd.c
|
2010-04-03 08:58:46 +08:00
|
|
|
@@ -308,6 +308,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();
|