diff --git a/src/lib66/exec/ssexec_tree_status.c b/src/lib66/exec/ssexec_tree_status.c index 93d7a4151c89eddcde3fa07063cad7a321df0485..702b37bae36eeafbe86685fb69f6779f0f2b4452 100644 --- a/src/lib66/exec/ssexec_tree_status.c +++ b/src/lib66/exec/ssexec_tree_status.c @@ -95,7 +95,7 @@ static void info_display_current(char const *field,char const *treename) log_dieu(LOG_EXIT_ZERO, "read resolve file of: ", treename) ; if (NOFIELD) info_display_field_name(field) ; - if (!bprintf(buffer_1,"%s%s%s", current ? log_color->blink : log_color->warning, current ? "yes":"no",log_color->off)) + if (!bprintf(buffer_1,"%s%s%s", current ? log_color->valid : log_color->warning, current ? "yes":"no",log_color->off)) log_dieusys(LOG_EXIT_SYS,"write to stdout") ; if (buffer_putsflush(buffer_1,"\n") == -1) @@ -355,8 +355,8 @@ static void info_display_contents(char const *field, char const *treename) graph_build_service(&graph, ares, &areslen, pinfo, STATE_FLAGS_TOPROPAGATE|STATE_FLAGS_WANTUP) ; - if (!graph.mlen) - log_die(LOG_EXIT_USER, "services selection is not available -- please make a bug report") ; + if (!areslen) + goto empty ; if (GRAPH) { diff --git a/src/lib66/info/info_graph_display_service.c b/src/lib66/info/info_graph_display_service.c index f363d85eed430f1201cd96a7cf173f3a04dd43de..501a27e9f32c086b6471e73388b33cf1d729dfbe 100644 --- a/src/lib66/info/info_graph_display_service.c +++ b/src/lib66/info/info_graph_display_service.c @@ -103,7 +103,7 @@ int info_graph_display_service(char const *name) "type=", log_color->blue, get_key_by_enum(ENUM_TYPE,res.type), log_color->off, \ - "intree=", BMAGENTA, res.sa.s + res.treename, log_color->off )) + "tree=", BMAGENTA, res.sa.s + res.treename, log_color->off )) goto freed ; err = 1 ; diff --git a/src/lib66/info/info_graph_display_tree.c b/src/lib66/info/info_graph_display_tree.c index 59b35711fc2e33040785a82c18fbf606f0647ad5..7cd48eb87df1f6a1d8ba786a45393ae4050cc705 100644 --- a/src/lib66/info/info_graph_display_tree.c +++ b/src/lib66/info/info_graph_display_tree.c @@ -50,7 +50,7 @@ int info_graph_display_tree(char const *name) auto_strings(base, sa.s) ; if (tree_isvalid(sa.s, name) <= 0) { - log_warn("invalide tree: ", name) ; + log_warn("invalid tree: ", name) ; goto freed ; }