]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/exec-credential: log about errno
authorMike Yuan <me@yhndnzj.com>
Fri, 19 Sep 2025 22:42:12 +0000 (00:42 +0200)
committerMike Yuan <me@yhndnzj.com>
Sun, 21 Sep 2025 15:16:52 +0000 (17:16 +0200)
src/core/exec-credential.c

index b0cc9ad068d86e9164bf6b33ed0cff6925819465..c890a2c48a34388e71acd6a49594683303196230 100644 (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;
                         }