From fd5d471f7429233f8b8c91d4fd18355946054b90 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Wed, 18 Oct 2023 21:25:46 +0200 Subject: [PATCH] auth: exit with 0 on --version, like dnsdist and recursor do --- pdns/auth-main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"] != "") -- 2.47.2