core/exec-credential: log about errno

This commit is contained in:
Mike Yuan
2025-09-20 00:42:12 +02:00
parent edb9a2870f
commit f4fc2c3fc9

View File

@@ -520,7 +520,7 @@ static int maybe_decrypt_and_write_credential(
}
if (r < 0) {
if (graceful) {
log_warning_errno(r, "Unable to decrypt credential '%s', skipping.", id);
log_warning_errno(r, "Unable to decrypt credential '%s', skipping: %m", id);
return 0;
}