]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review 14886/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 26 Nov 2024 10:49:33 +0000 (11:49 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Nov 2024 10:49:33 +0000 (11:49 +0100)
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
pdns/recursordist/docs/manpages/rec_control.1.rst
pdns/recursordist/rec_channel_rec.cc

index 1dd6fd571998e750316714a35c90b84479be0ce9..80b779147994223a8a8096a1196812c13d0137c3 100644 (file)
@@ -211,8 +211,8 @@ reload-lua-config [*FILENAME*]
     executed, any settings changed at runtime that are not modified in this
     file, will still be active. The effects of reloading do not always take
     place immediately, as some subsystems reload and replace configuration
-    in an asynchronous way. IF YAML settings are used this command will
-    reload the runtime settable parts of the YAML settings
+    in an asynchronous way. If YAML settings are used this command will
+    reload the runtime settable parts of the YAML settings.
 
 reload-yaml
     Reload the runtime settable parts of the YAML settings.
index bf3ff8096a3fe726701a818558920b935dc0e7c3..d79e4c2d04c088f92065e98521ea35da83c6a1aa 100644 (file)
@@ -1996,7 +1996,7 @@ static RecursorControlChannel::Answer luaconfig(T begin, T end)
 {
   if (begin != end) {
     if (g_luaSettingsInYAML) {
-      return {1, "Unable to reload Lua script from '" + *begin + " as there is no active Lua configuration\n"};
+      return {1, "Unable to reload Lua script from '" + *begin + "' as there is no active Lua configuration\n"};
     }
     ::arg().set("lua-config-file") = *begin;
   }