aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/more.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/util-linux/more.c b/util-linux/more.c
index 2d7f3a9e4..eeeea509e 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -87,9 +87,11 @@ int more_main(int argc, char **argv)
87 new_settings.c_cc[VMIN] = 1; 87 new_settings.c_cc[VMIN] = 1;
88 new_settings.c_cc[VTIME] = 0; 88 new_settings.c_cc[VTIME] = 0;
89 setTermSettings(cin_fileno, &new_settings); 89 setTermSettings(cin_fileno, &new_settings);
90 signal(SIGINT, gotsig); 90 bb_signals(0
91 signal(SIGQUIT, gotsig); 91 + (1 << SIGINT)
92 signal(SIGTERM, gotsig); 92 + (1 << SIGQUIT)
93 + (1 << SIGTERM)
94 , gotsig);
93#endif 95#endif
94 96
95 do { 97 do {