void process_service::exec_failed(run_proc_err errcode) noexcept
{
log(loglevel_t::ERROR, get_name(), ": execution failed - ",
- exec_stage_descriptions[static_cast<int>(errcode.stage)], strerror(errcode.st_errno));
+ exec_stage_descriptions[static_cast<int>(errcode.stage)], ": ", strerror(errcode.st_errno));
if (notification_fd != -1) {
readiness_watcher.deregister(event_loop);
void bgproc_service::exec_failed(run_proc_err errcode) noexcept
{
log(loglevel_t::ERROR, get_name(), ": execution failed - ",
- exec_stage_descriptions[static_cast<int>(errcode.stage)], strerror(errcode.st_errno));
+ exec_stage_descriptions[static_cast<int>(errcode.stage)], ": ", strerror(errcode.st_errno));
// Only time we execute is for startup:
stop_reason = stopped_reason_t::EXECFAILED;
void scripted_service::exec_failed(run_proc_err errcode) noexcept
{
log(loglevel_t::ERROR, get_name(), ": execution failed - ",
- exec_stage_descriptions[static_cast<int>(errcode.stage)], strerror(errcode.st_errno));
+ exec_stage_descriptions[static_cast<int>(errcode.stage)], ": ", strerror(errcode.st_errno));
auto service_state = get_state();
if (service_state == service_state_t::STARTING) {
stop_reason = stopped_reason_t::EXECFAILED;