From e433bdccdd71fa492b8a3212119821beab23647a Mon Sep 17 00:00:00 2001 From: fbt Date: Fri, 9 Mar 2018 07:50:20 +0300 Subject: [PATCH] consistency Signed-off-by: fbt --- ssm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ssm b/ssm index 1a55e98..207d00a 100755 --- a/ssm +++ b/ssm @@ -508,7 +508,7 @@ info() { case $_status_code in (0) _status = 'success';; (1) _status = 'not enabled';; - (9) _status = 'failed';; + (9) _status = "failed ($service_exit_last)";; (*) _status = 'unknown';; esac else @@ -518,8 +518,8 @@ info() { (0) _status = 'running';; (1) _status = 'down';; (7) _status = 'stopped';; - (9) _status = "failed: $service_exit_last";; - (11) _status = "exited: $service_exit_last";; + (9) _status = "failed ($service_exit_last)";; + (11) _status = "exited ($service_exit_last)";; (*) _status = 'unknown';; esac fi