summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-09-05 17:24:27 +0200
committerDaniel Mack <daniel@zonque.org>2014-09-08 14:12:56 +0200
commit060e088e94852cbe166592429c330e3997c21c4c (patch)
treed8f0fd1586184749e38b066a150d84e662919fda
parenta610cc4f18c24a007e5a2cac21b2ecbd81e5f3c3 (diff)
exit-status: add new exit code for custom endpoint errors
-rw-r--r--src/shared/exit-status.c3
-rw-r--r--src/shared/exit-status.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/exit-status.c b/src/shared/exit-status.c
index f3434f7ccc..b036ded1f4 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 9d27c01658..f719580426 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 {