From a4e26faf33a255cc26d62836ca0f59b6a1e31526 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Tue, 6 Dec 2016 13:01:35 +0100 Subject: 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. --- src/core/service.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3-54-g00ecf