From 436f6e07991b507cac41c76b6c7300627fca2c8e Mon Sep 17 00:00:00 2001
From: obarun <eric@obarun.org>
Date: Tue, 14 Mar 2023 14:16:24 +1100
Subject: [PATCH] check supervised state instead of initiated

---
 src/lib66/info/info_graph_display_service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib66/info/info_graph_display_service.c b/src/lib66/info/info_graph_display_service.c
index 485b4a25..52c517b8 100644
--- a/src/lib66/info/info_graph_display_service.c
+++ b/src/lib66/info/info_graph_display_service.c
@@ -69,7 +69,7 @@ int info_graph_display_service(char const *name)
 
     } else {
 
-         if (!service_is(&sta, STATE_FLAGS_TOINIT)) {
+         if (!service_is(&sta, STATE_FLAGS_ISSUPERVISED)) {
 
             ppid = "unitialized" ;
             goto dis ;
-- 
GitLab