]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/exec-credential: don't enable graceful for load_credential() 39040/head
authorMike Yuan <me@yhndnzj.com>
Fri, 19 Sep 2025 22:42:43 +0000 (00:42 +0200)
committerMike Yuan <me@yhndnzj.com>
Sun, 21 Sep 2025 15:16:52 +0000 (17:16 +0200)
Follow-up for 4be269563db777bb30f2609b3d4f5180fe9e2d2a

This contradicts the logic described in commit msg.

src/core/exec-credential.c

index c890a2c48a34388e71acd6a49594683303196230..5fb49899fd1b711e4b3bbad4feb86364d9c4b4fe 100644 (file)
@@ -739,7 +739,7 @@ static int load_credential(
         if (r < 0)
                 return log_debug_errno(r, "Failed to read credential '%s': %m", path);
 
-        return maybe_decrypt_and_write_credential(args, id, data, size, /* graceful= */ true);
+        return maybe_decrypt_and_write_credential(args, id, data, size, /* graceful= */ false);
 }
 
 static int load_cred_recurse_dir_cb(