mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* command.c (scd_update_reader_status_file): Send a signal back to
the client. (option_handler): Parse the new event-signal option. * scdaemon.c (handle_signal): Do not use SIGUSR{1,2} anymore for changing the verbosity.
This commit is contained in:
parent
3d58329f67
commit
4624e9dfb3
3 changed files with 55 additions and 8 deletions
|
@ -839,15 +839,11 @@ handle_signal (int signo)
|
|||
break;
|
||||
|
||||
case SIGUSR1:
|
||||
if (opt.verbose < 5)
|
||||
opt.verbose++;
|
||||
log_info ("SIGUSR1 received - verbosity set to %d\n", opt.verbose);
|
||||
log_info ("SIGUSR1 received - no action defined\n");
|
||||
break;
|
||||
|
||||
case SIGUSR2:
|
||||
if (opt.verbose)
|
||||
opt.verbose--;
|
||||
log_info ("SIGUSR2 received - verbosity set to %d\n", opt.verbose );
|
||||
log_info ("SIGUSR2 received - no action defined\n");
|
||||
break;
|
||||
|
||||
case SIGTERM:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue