diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 22:07:33 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 22:07:33 +0200 |
commit | 09115f9a97b820c69eb29d3621a4e65dac3dbfc5 (patch) | |
tree | 128d03d9c1e32c7a22ad8600a2659f2d02ac8be3 /initd/status.c | |
parent | 8fc5b24bdd4bed74035766497f57c66004ed6af2 (diff) |
Print status when starting a service marked as respawn
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'initd/status.c')
-rw-r--r-- | initd/status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/initd/status.c b/initd/status.c index 67b049b..2151fc3 100644 --- a/initd/status.c +++ b/initd/status.c @@ -30,6 +30,9 @@ void print_status(const char *msg, int type, bool update) case STATUS_WAIT: str = "\033[22;33m .. \033[0m"; break; + case STATUS_STARTED: + str = "\033[22;32m UP \033[0m"; + break; default: str = "\033[22;32m OK \033[0m"; break; |