Ignore return value from systemd-binfmt in scriptlet
This commit is contained in:
parent
07b77042bc
commit
e7883a3ff9
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user