]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/service: do not set zero error to log_unit_debug_errno()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 25 May 2021 20:02:18 +0000 (05:02 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 26 May 2021 01:23:36 +0000 (10:23 +0900)
Fixes #19725.

src/core/service.c

index baad85e8b6aa3ca487d68572ab16012f51bb78c5..f11b8f55579223e0440837ff9b849899baae719a 100644 (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;
                 }