diff options
Diffstat (limited to 'src/librc')
| -rw-r--r-- | src/librc/librc.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/librc/librc.c b/src/librc/librc.c index 4473a1bb..01bfac03 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -849,6 +849,10 @@ rc_service_state(const char *service)  		}  	} +	if (state & RC_SERVICE_STARTED) { +		if (rc_service_daemons_crashed(service)) +			state |= RC_SERVICE_CRASHED; +	}  	if (state & RC_SERVICE_STOPPED) {  		dirs = ls_dir(RC_SVCDIR "/scheduled", 0);  		TAILQ_FOREACH(dir, dirs, entries) { | 
