chiark / gitweb /
core: add a system-wide SystemCallArchitectures= setting
[elogind.git] / src / core / dbus-unit.c
index 37c1e8cbf822b6542a06e945313c39ad1d8d1c29..d4393e321f2e2ec91b0229b14f032163599780ce 100644 (file)
@@ -627,7 +627,7 @@ static int send_changed_signal(sd_bus *bus, const char *destination, void *userd
         assert(u);
 
         p = unit_dbus_path(u);
-        if (!u)
+        if (!p)
                 return -ENOMEM;
 
         /* Send a properties changed signal. First for the specific