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 authored and GitLab committed Oct 24, 2016
1 parent cca98b5 commit e1c08b1
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 e1c08b1

Please sign in to comment.