]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
trust-anchors nit: print a clearer error message
authorVladimír Čunát <vladimir.cunat@nic.cz>
Sun, 25 May 2025 08:17:44 +0000 (10:17 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Sun, 25 May 2025 08:17:44 +0000 (10:17 +0200)
daemon/lua/trust_anchors.lua.in

index 46c901198a86d4746a9c21cfa92324ba0b750614..678cf987c2d950f00c7a69185a76b407579289ca 100644 (file)
@@ -316,7 +316,7 @@ local function add_file(path, unmanaged)
        end
        if managed then
                if not io.open(path .. '.lock', 'w') then
-                       error("[ ta ] ERROR: write access needed to keyfile dir '"..path.."'")
+                       error("[ ta ] ERROR: write access needed to the directory containing keyfile '"..path.."'")
                end
                os.remove(path .. ".lock")
        end