chiark / gitweb /
bus: we now support path_namespace=/
[elogind.git] / src / libelogind / sd-bus / bus-control.c
index c6d962129b1dd0db831985c018ae2e4362fa99bf..7a59702cb270ccb93d4e9bd5281eddfe10c7dee7 100644 (file)
@@ -1291,10 +1291,8 @@ int bus_add_match_internal_kernel(
                         break;
 
                 case BUS_MATCH_PATH_NAMESPACE:
-                        if (!streq(c->value_str, "/")) {
-                                bloom_add_pair(bloom, bus->bloom_size, bus->bloom_n_hash, "path-slash-prefix", c->value_str);
-                                using_bloom = true;
-                        }
+                        bloom_add_pair(bloom, bus->bloom_size, bus->bloom_n_hash, "path-slash-prefix", c->value_str);
+                        using_bloom = true;
                         break;
 
                 case BUS_MATCH_ARG...BUS_MATCH_ARG_LAST: {