commit | a9ba0e328fa4d300d1186721d49b4d0fce33185d | [log] [tgz] |
---|---|---|
author | Christian Göttsche <cgzones@googlemail.com> | Fri Jun 19 19:29:24 2020 +0200 |
committer | Christian Göttsche <cgzones@googlemail.com> | Tue Jun 23 19:10:07 2020 +0200 |
tree | e76cb299638ab78d6cdc18bea49216d29dae2156 | |
parent | a11bfc17dcfbfb748504dbb1d92c68c24db0f2cb [diff] [blame] |
Make failures of mac_selinux_init() fatal
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index e827de1..8a0b8d3 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c
@@ -3262,7 +3262,9 @@ umask(0022); - mac_selinux_init(); + r = mac_selinux_init(); + if (r < 0) + return r; items = ordered_hashmap_new(&item_array_hash_ops); globs = ordered_hashmap_new(&item_array_hash_ops);