Blob Blame History Raw
From 060e088e94852cbe166592429c330e3997c21c4c Mon Sep 17 00:00:00 2001
From: Daniel Mack <daniel@zonque.org>
Date: Fri, 5 Sep 2014 17:24:27 +0200
Subject: [PATCH] exit-status: add new exit code for custom endpoint errors

---
 src/shared/exit-status.c | 3 +++
 src/shared/exit-status.h | 1 +
 2 files changed, 4 insertions(+)

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 {