Welcome to little lamb

Code » anopa » commit c4e6b01

status: Report "Up; Getting ready..." as needed

author Olivier Brunel
2016-09-16 20:43:43 UTC
committer Olivier Brunel
2016-09-16 20:43:43 UTC
parent f24e4e35a7ed3563e2e96d252f5d2278239e2aa4

status: Report "Up; Getting ready..." as needed

Longruns that are up (i.e. not (yet) ready) but do support readiness
will be announced as such, making it obvious they support readiness and
therefore aren't yet in their "final" state.

src/anopa/aa-status.c +4 -0

diff --git a/src/anopa/aa-status.c b/src/anopa/aa-status.c
index 23ae847..87ff343 100644
--- a/src/anopa/aa-status.c
+++ b/src/anopa/aa-status.c
@@ -390,6 +390,10 @@ status_service (struct serv *serv, struct config *cfg)
             {
                 put_s (" & Ready");
             }
+            else if (s->gets_ready)
+            {
+                put_s ("; Getting ready...");
+            }
             aa_is_noflush (AA_OUT, ANSI_HIGHLIGHT_OFF);
             put_s (" (PID ");
             buf[uint_fmt (buf, serv->st6.pid)] = '\0';