diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/more.c | 8 |
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) new_settings.c_cc[VMIN] = 1; new_settings.c_cc[VTIME] = 0; setTermSettings(cin_fileno, &new_settings); - signal(SIGINT, gotsig); - signal(SIGQUIT, gotsig); - signal(SIGTERM, gotsig); + bb_signals(0 + + (1 << SIGINT) + + (1 << SIGQUIT) + + (1 << SIGTERM) + , gotsig); #endif do { |