chiark / gitweb /
timedatectl: assorted simplifications
[elogind.git] / src / libsystemd-bus / bus-objects.c
index 5867907a624a393dd7274f28e1291dbf57812778..05d0015902075850c6ce0b13480b63365a3dd038 100644 (file)
@@ -600,7 +600,7 @@ static int property_get_all_callbacks_run(
         if (r < 0)
                 return r;
 
-        found_interface =
+        found_interface = !iface ||
                 streq(iface, "org.freedesktop.DBus.Properties") ||
                 streq(iface, "org.freedesktop.DBus.Peer") ||
                 streq(iface, "org.freedesktop.DBus.Introspectable");