From e7f0140b490e9630fbc778e8ca1a2f985b3044a0 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 20 Feb 2015 23:34:22 +0100 Subject: [PATCH] Exit with 0 when receiving QUIT Fixes the first case in #2266 --- pdns/dynhandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dynhandler.cc b/pdns/dynhandler.cc index 9249c141b..5c0f5819e 100644 --- a/pdns/dynhandler.cc +++ b/pdns/dynhandler.cc @@ -61,7 +61,7 @@ string DLQuitHandler(const vector&parts, Utility::pid_t ppid) static void dokill(int) { - exit(1); + exit(0); } string DLCurrentConfigHandler(const vector&parts, Utility::pid_t ppid) -- 2.40.0