mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Improve "caught Terminated" output.
This commit is contained in:
parent
7faf2787e4
commit
b6df049c49
@ -2371,7 +2371,7 @@ static void pidfile_create(void) {
|
||||
/* Close all sockets and FILEs and exit. */
|
||||
static void stop_running(int sig) {
|
||||
running = 0;
|
||||
fprintf(stderr, "\ncaught %s, stopping\n", strsignal(sig));
|
||||
fprintf(stderr, "\ncaught signal %s, stopping\n", strsignal(sig));
|
||||
}
|
||||
|
||||
/* Execution starts here. */
|
||||
|
Loading…
Reference in New Issue
Block a user