Ignore return value from systemd-binfmt in scriptlet

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-07-18 10:53:19 +02:00
parent 07b77042bc
commit e7883a3ff9
2 changed files with 6 additions and 1 deletions

View File

@ -688,6 +688,9 @@ fi
%files tests -f .file-list-tests
%changelog
* Wed Jul 18 2018 Terje Rosten <terje.rosten@ntnu.no> - 239-3
- Ignore return value from systemd-binfmt in scriptlet (#1565425)
* Sun Jul 15 2018 Filipe Brandenburger <filbranden@gmail.com>
- Override systemd-user PAM config in install and not prep

View File

@ -105,5 +105,7 @@ fi
# This script will automatically apply binfmt rules if files have been
# installed or updated in /usr/lib/binfmt.d.
if test -d /run/systemd/system; then
/usr/lib/systemd/systemd-binfmt
# systemd-binfmt might fail if binfmt_misc kernel module is not loaded
# during install
/usr/lib/systemd/systemd-binfmt || :
fi