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

also remove environment directory

parent 98e24158
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,9 @@ static void remove_service(resolve_service_t *res, ssexec_t *info)
free(path) ;
if (res->environ.envdir)
auto_remove(res->sa.s + res->environ.envdir) ;
tree_service_remove(info->base.s, res->sa.s + res->treename, res->sa.s + res->name) ;
if ((res->logger.want && (res->type == TYPE_CLASSIC || res->type == TYPE_ONESHOT)) && !res->inmodule) {
......
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