From ded8ecb6389fc9f087fdd6c34ce10f8c0d451be6 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 3 Oct 2022 08:24:17 +0200 Subject: [PATCH] rec: Fix --config (should be equal to --config=default), followup to #11907 --- pdns/recursordist/rec-main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") { -- 2.47.2