Fix build

This commit is contained in:
Ivan Lezhankin 2019-12-02 14:29:52 +03:00
parent 4f56e03729
commit 0e276ad887
2 changed files with 4 additions and 6 deletions

View File

@ -157,14 +157,11 @@ std::string signalToErrorMessage(int sig, const siginfo_t & info, const ucontext
}
break;
}
case SIGRTMIN:
{
error << "This is a signal used for debugging purposes by the user.";
break;
}
}
if (sig == SIGRTMIN)
error << "This is a signal used for debugging purposes by the user.";
return error.str();
}

View File

@ -732,6 +732,7 @@ void BaseDaemon::initializeTerminationAndSignalProcessing()
signal_listener.reset(new SignalListener(*this));
signal_listener_thread.start(*signal_listener);
Logger::root().information("Hint: use signal number " + std::to_string(SIGRTMIN) + " (SIGRTMIN) for user debugging purposes");
}
void BaseDaemon::logRevision() const