From: Peter van Dijk Date: Wed, 18 Oct 2023 19:25:46 +0000 (+0200) Subject: auth: exit with 0 on --version, like dnsdist and recursor do X-Git-Tag: rec-5.0.0-rc1~47^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd5d471f7429233f8b8c91d4fd18355946054b90;p=thirdparty%2Fpdns.git auth: exit with 0 on --version, like dnsdist and recursor do --- diff --git a/pdns/auth-main.cc b/pdns/auth-main.cc index 559e1f29c3..143fb2fb8d 100644 --- a/pdns/auth-main.cc +++ b/pdns/auth-main.cc @@ -1219,7 +1219,7 @@ int main(int argc, char** argv) if (::arg().mustDo("version")) { showProductVersion(); showBuildConfiguration(); - exit(99); + return 0; } if (::arg()["config-name"] != "")