core/service: do not set zero error to log_unit_debug_errno()

Fixes #19725.
This commit is contained in:
Yu Watanabe
2021-05-26 10:23:36 +09:00
parent 764dca0edc
commit 95599cacd3
+1 -1
View File
@@ -2936,7 +2936,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;
}