Skip to content

Commit

Permalink
auth: exit with 0 on --version, like dnsdist and recursor do
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Oct 19, 2023
1 parent 0dff5e1 commit fd5d471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/auth-main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ int main(int argc, char** argv)
if (::arg().mustDo("version")) {
showProductVersion();
showBuildConfiguration();
exit(99);
return 0;
}

if (::arg()["config-name"] != "")
Expand Down

0 comments on commit fd5d471

Please sign in to comment.