Skip to content

Commit

Permalink
master: If chrooted service's core wasn't dumped, suggest to unset th…
Browse files Browse the repository at this point in the history
…e chroot.
  • Loading branch information
sirainen committed Oct 24, 2016
1 parent 54a8e37 commit bffa0a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/master/service-process.c
Expand Up @@ -474,6 +474,11 @@ log_coredump(struct service *service, string_t *str, int status)
return;
}
#endif
if (service->set->chroot[0] != '\0') {
str_printfa(str, " (core not dumped - try to clear "
"service %s { chroot = } )", service->set->name);
return;
}

str_append(str, " (core not dumped)");
#endif
Expand Down

0 comments on commit bffa0a2

Please sign in to comment.