Skip to content
Snippets Groups Projects
Commit f7466630 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

do not handle logger for service inside module

parent f08cf0e5
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ static void remove_service(resolve_service_t *res, ssexec_t *info)
tree_service_remove(info->base.s, res->sa.s + res->treename, res->sa.s + res->name) ;
if (res->logger.want && res->type == TYPE_CLASSIC) {
if ((res->logger.want && (res->type == TYPE_CLASSIC || res->type == TYPE_ONESHOT)) && !res->inmodule) {
resolve_service_t lres = RESOLVE_SERVICE_ZERO ;
resolve_wrapper_t_ref lwres = resolve_set_struct(DATA_SERVICE, &lres) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment