From: Mike Yuan Date: Fri, 19 Sep 2025 22:42:43 +0000 (+0200) Subject: core/exec-credential: don't enable graceful for load_credential() X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F39040%2Fhead;p=thirdparty%2Fsystemd.git core/exec-credential: don't enable graceful for load_credential() Follow-up for 4be269563db777bb30f2609b3d4f5180fe9e2d2a This contradicts the logic described in commit msg. --- diff --git a/src/core/exec-credential.c b/src/core/exec-credential.c index c890a2c48a3..5fb49899fd1 100644 --- a/src/core/exec-credential.c +++ b/src/core/exec-credential.c @@ -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(