]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bus-unit-util: tiny coding style fix 9504/head
authorLennart Poettering <lennart@poettering.net>
Wed, 4 Jul 2018 13:38:53 +0000 (15:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 20 Jul 2018 14:57:35 +0000 (16:57 +0200)
src/shared/bus-unit-util.c

index 0c713678e2da6639b750f5ef9e5e789165c433e1..a405d22809daa4475a676b6a7310e346843e1310 100644 (file)
@@ -503,9 +503,9 @@ static int bus_append_cgroup_property(sd_bus_message *m, const char *field, cons
                         path = strndupa(eq, e - eq);
                         bandwidth = e+1;
 
-                        if (streq(bandwidth, "infinity")) {
+                        if (streq(bandwidth, "infinity"))
                                 bytes = CGROUP_LIMIT_MAX;
-                        else {
+                        else {
                                 r = parse_size(bandwidth, 1000, &bytes);
                                 if (r < 0)
                                         return log_error_errno(r, "Failed to parse byte value %s: %m", bandwidth);