summaryrefslogtreecommitdiff
path: root/src/core/dbus-cgroup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-25 19:00:12 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-25 19:00:38 +0100
commit43a99a7afe3063eebc901452026b13360b69a7b5 (patch)
tree5ba87dd780b9c5b3099f4d93c3d04e10cf302ee5 /src/core/dbus-cgroup.c
parent25ad8664604507aacab593327b8d9d7454f0634d (diff)
build-sys: minor fixes found with cppcheck
Diffstat (limited to 'src/core/dbus-cgroup.c')
-rw-r--r--src/core/dbus-cgroup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c
index 39865a96da..861bb16445 100644
--- a/src/core/dbus-cgroup.c
+++ b/src/core/dbus-cgroup.c
@@ -484,6 +484,8 @@ int bus_cgroup_set_property(
n++;
}
+ if (r < 0)
+ return r;
if (mode != UNIT_CHECK) {
_cleanup_free_ char *buf = NULL;