aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2019-03-18 18:38:27 +0100
committerDavid Oberhollenzer <goliath@infraroot.at>2019-03-18 18:47:20 +0100
commita9602ad6e018afd7621052e1263d3cae0e6da5f3 (patch)
tree55f702e36171f58112b9fc05c1d9d393e643bddf /lib
parent3f40c4d3ed5d13e98a92773a475883237c3b549b (diff)
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 <goliath@infraroot.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/include/initsock.h3
1 files changed, 2 insertions, 1 deletions
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 {