Don't print messages in signal handler.

Only reentrant functions should be called here.

Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
master
Miroslav Lichvar 2014-10-03 14:13:49 +02:00 committed by Richard Cochran
parent e5f20ea6df
commit aa24ba58e1
1 changed files with 0 additions and 1 deletions

1
util.c
View File

@ -318,7 +318,6 @@ int get_arg_val_d(int op, const char *optarg, double *val,
static void handle_int_quit_term(int s)
{
pr_notice("caught signal %d", s);
running = 0;
}