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

check supervised service instead of initiated service

parent 8eb2afe1
No related branches found
No related tags found
No related merge requests found
......@@ -222,9 +222,9 @@ static void info_get_status(resolve_service_t *res)
if (!state_read(&sta, ste, name))
log_dieusys(LOG_EXIT_SYS,"read state of: ",name) ;
if (!service_is(&sta, STATE_FLAGS_TOINIT)) {
if (!service_is(&sta, STATE_FLAGS_ISSUPERVISED)) {
status = "unitialized" ;
status = "unsupervised" ;
} else if (!service_is(&sta, STATE_FLAGS_ISUP)) {
......
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