diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-03-18 18:38:27 +0100 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-03-18 18:47:20 +0100 |
commit | a9602ad6e018afd7621052e1263d3cae0e6da5f3 (patch) | |
tree | 55f702e36171f58112b9fc05c1d9d393e643bddf /lib/include/initsock.h | |
parent | 3f40c4d3ed5d13e98a92773a475883237c3b549b (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/include/initsock.h')
-rw-r--r-- | lib/include/initsock.h | 3 |
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 { |