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

don't remove service from tree at disable time

parent c1087174
No related branches found
No related tags found
No related merge requests found
......@@ -108,11 +108,8 @@ int ssexec_disable(int argc, char const *const *argv, ssexec_t *info)
service_enable_disable(&graph, aresid, ares, areslen, 0, visit, propagate) ;
tree_service_remove(info->base.s, ares[aresid].sa.s + ares[aresid].treename, ares[aresid].sa.s + ares[aresid].name) ;
if (!sastr_add_string(&sa, argv[n]))
log_dieu(LOG_EXIT_SYS, "add string") ;
}
if (stop && sa.len) {
......
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