diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-06-19 19:29:24 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-06-23 19:10:07 +0200 |
commit | a9ba0e328fa4d300d1186721d49b4d0fce33185d (patch) | |
tree | e76cb299638ab78d6cdc18bea49216d29dae2156 /src/update-done/update-done.c | |
parent | a11bfc17dcfbfb748504dbb1d92c68c24db0f2cb (diff) | |
download | systemd-a9ba0e328fa4d300d1186721d49b4d0fce33185d.tar.gz |
Make failures of mac_selinux_init() fatal
Diffstat (limited to 'src/update-done/update-done.c')
-rw-r--r-- | src/update-done/update-done.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/update-done/update-done.c b/src/update-done/update-done.c index bbd14165d5..c001802dc9 100644 --- a/src/update-done/update-done.c +++ b/src/update-done/update-done.c @@ -49,10 +49,8 @@ int main(int argc, char *argv[]) { } r = mac_selinux_init(); - if (r < 0) { - log_error_errno(r, "SELinux setup failed: %m"); + if (r < 0) return EXIT_FAILURE; - } r = apply_timestamp("/etc/.updated", &st.st_mtim); q = apply_timestamp("/var/.updated", &st.st_mtim); |