diff --git a/src/shrpx.cc b/src/shrpx.cc index 9354a14f..554410a2 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -912,8 +912,9 @@ int event_loop() { // After that, we drop the root privileges if needed. drop_privileges(); -#ifndef NOTHREADS int rv; + +#ifndef NOTHREADS sigset_t signals; sigemptyset(&signals); sigaddset(&signals, REOPEN_LOG_SIGNAL);