core/exec-credential: don't enable graceful for load_credential()

Follow-up for 4be269563d

This contradicts the logic described in commit msg.
This commit is contained in:
Mike Yuan
2025-09-20 00:42:43 +02:00
parent f4fc2c3fc9
commit 1419e8d324

View 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(