From: Otto Moerbeek Date: Mon, 3 Oct 2022 06:24:17 +0000 (+0200) Subject: rec: Fix --config (should be equal to --config=default), followup to #11907 X-Git-Tag: rec-4.9.0-alpha0~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12048%2Fhead;p=thirdparty%2Fpdns.git rec: Fix --config (should be equal to --config=default), followup to #11907 --- diff --git a/pdns/recursordist/rec-main.cc b/pdns/recursordist/rec-main.cc index 730e7bc728..9a0129fcfd 100644 --- a/pdns/recursordist/rec-main.cc +++ b/pdns/recursordist/rec-main.cc @@ -2953,7 +2953,7 @@ int main(int argc, char** argv) exit(1); } } - else if (config == "default") { + else if (config == "default" || config.empty()) { cout << ::arg().configstring(false, true); } else if (config == "diff") {