diff --git a/src/unix/SignalHandlers.cxx b/src/unix/SignalHandlers.cxx index c6dc7ca67..d0908096e 100644 --- a/src/unix/SignalHandlers.cxx +++ b/src/unix/SignalHandlers.cxx @@ -26,7 +26,7 @@ #include "Log.hxx" #include "LogInit.hxx" #include "event/Loop.hxx" -#include "system/FatalError.hxx" +#include "system/Error.hxx" #include "util/Domain.hxx" #include @@ -44,7 +44,7 @@ static void x_sigaction(int signum, const struct sigaction *act) { if (sigaction(signum, act, NULL) < 0) - FatalSystemError("sigaction() failed"); + throw MakeErrno("sigaction() failed"); } static void