diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2016-12-06 13:01:35 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2016-12-06 13:37:14 +0100 |
commit | a4e26faf33a255cc26d62836ca0f59b6a1e31526 (patch) | |
tree | db2aa675c9a6b3658ac1a77d45a4268d2fa67295 /src | |
parent | 9c77d1079dd905b90e488082a92764fcc14833e2 (diff) |
man: fix $SERVICE_RESULT/$EXIT_CODE/$EXIT_STATUS documentation
Note that any exit code is available through $EXIT_STATUS and not through
$EXIT_CODE. This mimics siginfo.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/service.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h index e09722a952..ff9cfaeb88 100644 --- a/src/core/service.h +++ b/src/core/service.h @@ -79,6 +79,8 @@ typedef enum NotifyState { _NOTIFY_STATE_INVALID = -1 } NotifyState; +/* The values of this enum are referenced in man/systemd.exec.xml and src/shared/bus-unit-util.c. + * Update those sources for each change to this enum. */ typedef enum ServiceResult { SERVICE_SUCCESS, SERVICE_FAILURE_RESOURCES, /* a bit of a misnomer, just our catch-all error for errnos we didn't expect */ |