Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/RMerl/asuswrt-merlin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2016-12-10 01:27:39 +0300
committerVladislav Grishenko <themiron@mail.ru>2016-12-10 03:31:59 +0300
commit6d4ccfd75ad23768cb385d2ed9afb56035f913d1 (patch)
tree715c32e81d7c60200dabf5e2131c1021449bb0ca
parent09189229357e31efac4079d45df2b572ce65b656 (diff)
busybox: telnetd: ensure correct behavior of Ctrl-C
-rw-r--r--release/src/router/busybox/networking/telnetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/src/router/busybox/networking/telnetd.c b/release/src/router/busybox/networking/telnetd.c
index 13c36aa464..a4f19ee1dc 100644
--- a/release/src/router/busybox/networking/telnetd.c
+++ b/release/src/router/busybox/networking/telnetd.c
@@ -332,7 +332,7 @@ make_new_session(
/* Careful - we are after vfork! */
/* Restore default signal handling ASAP */
- bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
+ bb_signals((1 << SIGCHLD) + (1 << SIGPIPE) + (1 << SIGINT), SIG_DFL);
pid = getpid();