From: Daniel Mack Date: Fri, 5 Sep 2014 15:24:27 +0000 (+0200) Subject: exit-status: add new exit code for custom endpoint errors X-Git-Tag: v217~637 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=060e088e94852cbe166592429c330e3997c21c4c;p=thirdparty%2Fsystemd.git exit-status: add new exit code for custom endpoint errors --- diff --git a/src/shared/exit-status.c b/src/shared/exit-status.c index f3434f7ccc3..b036ded1f48 100644 --- a/src/shared/exit-status.c +++ b/src/shared/exit-status.c @@ -148,6 +148,9 @@ const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) { case EXIT_MAKE_STARTER: return "MAKE_STARTER"; + + case EXIT_BUS_ENDPOINT: + return "EXIT_BUS_ENDPOINT"; } } diff --git a/src/shared/exit-status.h b/src/shared/exit-status.h index 9d27c016587..f719580426b 100644 --- a/src/shared/exit-status.h +++ b/src/shared/exit-status.h @@ -77,6 +77,7 @@ typedef enum ExitStatus { EXIT_RUNTIME_DIRECTORY, EXIT_MAKE_STARTER, EXIT_CHOWN, + EXIT_BUS_ENDPOINT, } ExitStatus; typedef enum ExitStatusLevel {