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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3039%2Fhead;p=thirdparty%2Fpdns.git Exit with 0 when receiving QUIT Fixes the first case in #2266 --- diff --git a/pdns/dynhandler.cc b/pdns/dynhandler.cc index 9249c141b5..5c0f5819ef 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)