From 46facc301c6987045de9bc5e07c55087d27f583f Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Sat, 5 Jan 2019 18:38:14 +0100
Subject: [PATCH] [fix] Exit codes: return 4 when Duniter is not running

---
 app/lib/common-libs/exit-codes.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/lib/common-libs/exit-codes.ts b/app/lib/common-libs/exit-codes.ts
index f9bcf11a2..0384e2812 100755
--- a/app/lib/common-libs/exit-codes.ts
+++ b/app/lib/common-libs/exit-codes.ts
@@ -2,8 +2,8 @@ export enum ExitCodes {
   OK = 0,
   UNHANDLED_ERROR = 1,
   UNCAUGHT_EXCEPTION = 2,
-  DUNITER_NOT_RUNNING = 2,
   SIGINT = 3,
+  DUNITER_NOT_RUNNING = 4,
   SYNC_FAIL = 50,
   FORCE_CLOSE_AFTER_ERROR = 100,
   MINDEX_WRITING_ERROR = 500,
-- 
GitLab