summaryrefslogtreecommitdiffstats
path: root/src/sysusers
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-06-19 19:29:24 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-06-23 19:10:07 +0200
commita9ba0e328fa4d300d1186721d49b4d0fce33185d (patch)
treee76cb299638ab78d6cdc18bea49216d29dae2156 /src/sysusers
parentInitialize SELinux in user instances (diff)
downloadsystemd-a9ba0e328fa4d300d1186721d49b4d0fce33185d.tar.xz
systemd-a9ba0e328fa4d300d1186721d49b4d0fce33185d.zip
Make failures of mac_selinux_init() fatal
Diffstat (limited to 'src/sysusers')
-rw-r--r--src/sysusers/sysusers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
index 6fbd5985d3..b5e7e08eee 100644
--- a/src/sysusers/sysusers.c
+++ b/src/sysusers/sysusers.c
@@ -1898,7 +1898,7 @@ static int run(int argc, char *argv[]) {
r = mac_selinux_init();
if (r < 0)
- return log_error_errno(r, "SELinux setup failed: %m");
+ return r;
/* If command line arguments are specified along with --replace, read all
* configuration files and insert the positional arguments at the specified