From 70a74ec6459fa65d273d7fb7e615ae170f12ea20 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 12 Dec 2018 20:45:24 +0100 Subject: [PATCH] mount-setup: don't consider it reason to fail if we can't relabel cgroupfs We usually don't care much about relabel failures, let's not do that here either. --- src/core/mount-setup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index 231c7d80019..3ce6164b06f 100644 --- a/src/core/mount-setup.c +++ b/src/core/mount-setup.c @@ -525,9 +525,7 @@ int mount_setup(bool loaded_policy) { FOREACH_STRING(i, "/dev", "/dev/shm", "/run") (void) nftw(i, nftw_cb, 64, FTW_MOUNT|FTW_PHYS|FTW_ACTIONRETVAL); - r = relabel_cgroup_filesystems(); - if (r < 0) - return r; + (void) relabel_cgroup_filesystems(); n_extra = relabel_extra(); -- 2.47.3