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

be better at log output

parent 34d3af71
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,6 @@ int ssexec_enable(int argc, char const *const *argv, ssexec_t *info)
if (!stack_add_g(&stk, argv[n]))
log_dieu(LOG_EXIT_SYS, "add string") ;
log_info("Enabled successfully service: ", ares[aresid].sa.s + ares[aresid].name) ;
}
service_resolve_array_free(ares, areslen) ;
......
......@@ -141,5 +141,7 @@ void service_enable_disable(graph_t *g, unsigned int idx, resolve_service_t *are
free(wres) ;
visit[idx] = 1 ;
log_info(!action ? "Disabled" : "Enabled"," successfully service: ", ares[idx].sa.s + ares[idx].name) ;
}
}
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