]> granicus.if.org Git - pdns/commitdiff
pdns_recursor: Exit friendly on --version
authorPieter Lexis <pieter.lexis@powerdns.com>
Sat, 30 Apr 2016 11:25:43 +0000 (13:25 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Sat, 30 Apr 2016 11:25:43 +0000 (13:25 +0200)
pdns/pdns_recursor.cc

index 1b2cd63e14572eae2b45efbafc62704d48466013..2978f11d9621a1fcd8039f80c961d2034bf909d2 100644 (file)
@@ -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");