]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix --config (should be equal to --config=default), followup to #11907 12048/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 3 Oct 2022 06:24:17 +0000 (08:24 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 3 Oct 2022 06:24:17 +0000 (08:24 +0200)
pdns/recursordist/rec-main.cc

index 730e7bc72827fce7643b047e28f772a4eefe1347..9a0129fcfd751ee24e51aecc02388fca916b102d 100644 (file)
@@ -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") {