From: Pieter Lexis Date: Sat, 30 Apr 2016 11:25:43 +0000 (+0200) Subject: pdns_recursor: Exit friendly on --version X-Git-Tag: rec-4.0.0-alpha3~19^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=670768695b147d3ddf4edd4cc2b7e39a96b4b9ad;p=pdns pdns_recursor: Exit friendly on --version --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 1b2cd63e1..2978f11d9 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2980,7 +2980,7 @@ int main(int argc, char **argv) if(::arg().mustDo("version")) { showProductVersion(); showBuildConfiguration(); - exit(99); + exit(0); } Logger::Urgency logUrgency = (Logger::Urgency)::arg().asNum("loglevel");