diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/openrc-run.sh.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sh/openrc-run.sh.in b/sh/openrc-run.sh.in index e3dff6ce..7e9064c2 100644 --- a/sh/openrc-run.sh.in +++ b/sh/openrc-run.sh.in @@ -133,11 +133,10 @@ _status() elif service_inactive; then ewarn "status: inactive" return 16 + elif service_crashed; then + eerror "status: crashed" + return 32 elif service_started; then - if service_crashed; then - eerror "status: crashed" - return 32 - fi einfo "status: started" return 0 else |