commit cbe39f11829176889cb350bc903e0f339cff366e from: Stefan Sperling date: Mon Apr 07 08:27:08 2025 UTC don't treat unhandled signals as a fatal error in gotwebd The default action of some signals may be to terminate the process, but this does not apply to all signals. commit - 06b40487cb45b7d4def06fb83471662497e35879 commit + cbe39f11829176889cb350bc903e0f339cff366e blob - 2b5c5209c8dc42c0657ba83ee32ac955e281524d blob + 61a08a5b8aa69b071a02be23f9794bab66c345fc --- gotwebd/gotwebd.c +++ gotwebd/gotwebd.c @@ -198,7 +198,8 @@ gotwebd_sighdlr(int sig, short event, void *arg) gotwebd_shutdown(); break; default: - fatalx("unexpected signal"); + log_warn("unexpected signal %d", sig); + break; } } blob - 9c4f858066e52a609ae73033943e507a94e16303 blob + 4ca6de208a73860f721177a094834ffc846d1aaf --- gotwebd/sockets.c +++ gotwebd/sockets.c @@ -327,8 +327,8 @@ sockets_sighdlr(int sig, short event, void *arg) sockets_shutdown(); break; default: - log_info("SIGNAL: %d", sig); - fatalx("unexpected signal"); + log_warn("unexpected signal %d", sig); + break; } }