]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: fix spurious warning about cpuacct-usage-base deserialization
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Apr 2015 12:10:33 +0000 (08:10 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Apr 2015 12:12:02 +0000 (08:12 -0400)
The key was parsed properly, but the warning was still generated.

src/core/unit.c

index 3aa1bf25f73ee6fbbbc94c972c9f048c73cdaeba..494dee4156aacbc647ad14139cffd43e2937dfda 100644 (file)
@@ -2776,6 +2776,7 @@ int unit_deserialize(Unit *u, FILE *f, FDSet *fds) {
                         if (r < 0)
                                 log_debug("Failed to parse CPU usage %s", v);
 
+                        continue;
                 } else if (streq(l, "cgroup")) {
                         char *s;