build(debian): only reload apparmor, if it is active.

This commit is contained in:
Alexandre Pujol 2024-02-24 14:14:00 +00:00
parent cefd372099
commit 511bca60fb
Failed to generate hash of commit
2 changed files with 2 additions and 2 deletions

View file

@ -5,6 +5,6 @@
#DEBHELPER# #DEBHELPER#
systemctl restart apparmor.service > /dev/null || true systemctl is-active -q apparmor && systemctl reload apparmor || :
exit 0 exit 0

View file

@ -5,6 +5,6 @@
#DEBHELPER# #DEBHELPER#
systemctl restart apparmor.service > /dev/null || true systemctl is-active -q apparmor && systemctl reload apparmor ||:
exit 0 exit 0