From a9602ad6e018afd7621052e1263d3cae0e6da5f3 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 18 Mar 2019 18:38:27 +0100 Subject: Cleanup status reporting - mimic format of initd - skip formatting if not a tty - distinguish exited because failed vs exited because done Signed-off-by: David Oberhollenzer --- lib/include/initsock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/include/initsock.h b/lib/include/initsock.h index 9c84f3e..75d859c 100644 --- a/lib/include/initsock.h +++ b/lib/include/initsock.h @@ -15,7 +15,8 @@ typedef enum { ESS_NONE = 0x00, ESS_RUNNING = 0x01, ESS_ENQUEUED = 0x02, - ESS_EXITED = 0x03, + ESS_DONE = 0x03, + ESS_FAILED = 0x04 } E_SERVICE_STATE; typedef struct { -- cgit v1.2.3