projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
740b24c
)
core/service: do not set zero error to log_unit_debug_errno()
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 25 May 2021 20:02:18 +0000
(
05:02
+0900)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 9 Jul 2021 16:31:13 +0000
(18:31 +0200)
Fixes #19725.
(cherry picked from commit
95599cacd3944073f7d944a8b3973e1308d1d57f
)
src/core/service.c
patch
|
blob
|
history
diff --git
a/src/core/service.c
b/src/core/service.c
index 4c5bfb17fb81efff3539bab0f54b283d4a1dfc25..751db053f33f21f900548ae694904a9299ea3100 100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-2930,7
+2930,7
@@
static int service_deserialize_item(Unit *u, const char *key, const char *value,
r = extract_first_word(&value, &fdn, NULL, EXTRACT_CUNESCAPE | EXTRACT_UNQUOTE);
if (r <= 0) {
- log_unit_debug
_errno(u, r, "Failed to parse fd-store-fd value \"%s\": %m
", value);
+ log_unit_debug
(u, "Failed to parse fd-store-fd value: %s
", value);
return 0;
}