]> granicus.if.org Git - pdns/commitdiff
Exit with 0 when receiving QUIT
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 20 Feb 2015 22:34:22 +0000 (23:34 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 15 Dec 2015 11:36:14 +0000 (12:36 +0100)
Fixes the first case in #2266

pdns/dynhandler.cc

index 9249c141b5e9f7cb7df4d758765e000d8d975f54..5c0f5819ef98d8a9170248832d0652adcccae9fa 100644 (file)
@@ -61,7 +61,7 @@ string DLQuitHandler(const vector<string>&parts, Utility::pid_t ppid)
 
 static void dokill(int)
 {
-  exit(1);
+  exit(0);
 }
 
 string DLCurrentConfigHandler(const vector<string>&parts, Utility::pid_t ppid)