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.
This commit is contained in:
Jouke Witteveen
2016-12-06 13:37:14 +01:00
parent 9c77d1079d
commit a4e26faf33
2 changed files with 14 additions and 3 deletions
+2
View File
@@ -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 */