]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd/sd-bus/test-bus-creds.c
basic/cgroup-util: let cgroup_unified_flush() return the detected hierarchy
[thirdparty/systemd.git] / src / libsystemd / sd-bus / test-bus-creds.c
index c02c459663b883f68c7c652704f274df9859b0b6..7f7bc491d2586faf050141d7f386d284060a38e3 100644 (file)
@@ -13,7 +13,7 @@ int main(int argc, char *argv[]) {
 
         test_setup_logging(LOG_DEBUG);
 
-        if (cg_unified_flush() == -ENOMEDIUM)
+        if (cg_unified() == -ENOMEDIUM)
                 return log_tests_skipped("/sys/fs/cgroup/ not available");
 
         r = sd_bus_creds_new_from_pid(&creds, 0, _SD_BUS_CREDS_ALL);