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

do not add disabled service

parent 06f067c3
No related branches found
No related tags found
No related merge requests found
......@@ -179,9 +179,10 @@ void tree_contents(stralloc *list,char const *tree,ssexec_t *info)
if (!ss_resolve_read(&res,solve,name))
log_dieusys_nclean(LOG_EXIT_SYS,&cleanup,"read resolve file of: ",solve,"/",name) ;
if (!stralloc_catb(list,res.sa.s + res.src,strlen(res.sa.s + res.src) + 1))
log_diesys_nclean(LOG_EXIT_SYS,&cleanup,"stralloc") ;
if (res.disen)
if (!stralloc_catb(list,res.sa.s + res.src,strlen(res.sa.s + res.src) + 1))
log_diesys_nclean(LOG_EXIT_SYS,&cleanup,"stralloc") ;
log_trace(DRYRUN ? drun : "","tree: ",info->treename.s," contain service: ",res.sa.s + res.src) ;
}
......
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