From: Ruben Kerkhof Date: Fri, 20 Feb 2015 22:34:22 +0000 (+0100) Subject: Exit with 0 when receiving QUIT X-Git-Tag: dnsdist-1.0.0-alpha1~57^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7f0140b490e9630fbc778e8ca1a2f985b3044a0;p=pdns Exit with 0 when receiving QUIT Fixes the first case in #2266 --- 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)