consistency
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
a4bd260bfe
commit
e433bdccdd
6
ssm
6
ssm
|
@ -508,7 +508,7 @@ info() {
|
||||||
case $_status_code in
|
case $_status_code in
|
||||||
(0) _status = 'success';;
|
(0) _status = 'success';;
|
||||||
(1) _status = 'not enabled';;
|
(1) _status = 'not enabled';;
|
||||||
(9) _status = 'failed';;
|
(9) _status = "failed ($service_exit_last)";;
|
||||||
(*) _status = 'unknown';;
|
(*) _status = 'unknown';;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
@ -518,8 +518,8 @@ info() {
|
||||||
(0) _status = 'running';;
|
(0) _status = 'running';;
|
||||||
(1) _status = 'down';;
|
(1) _status = 'down';;
|
||||||
(7) _status = 'stopped';;
|
(7) _status = 'stopped';;
|
||||||
(9) _status = "failed: $service_exit_last";;
|
(9) _status = "failed ($service_exit_last)";;
|
||||||
(11) _status = "exited: $service_exit_last";;
|
(11) _status = "exited ($service_exit_last)";;
|
||||||
(*) _status = 'unknown';;
|
(*) _status = 'unknown';;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user