mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-03 15:55:46 +00:00
fix a syntax error in remove_profiles() in rc.apparmor.functions by
adding a forgotten pipe. Acked-By: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
@@ -400,7 +400,7 @@ remove_profiles() {
|
|||||||
retval=0
|
retval=0
|
||||||
# We filter child profiles as removing the parent will remove
|
# We filter child profiles as removing the parent will remove
|
||||||
# the children
|
# the children
|
||||||
sed -e "s/ (\(enforce\|complain\))$//" "$SFS_MOUNTPOINT/profiles" \
|
sed -e "s/ (\(enforce\|complain\))$//" "$SFS_MOUNTPOINT/profiles" | \
|
||||||
LC_COLLATE=C sort | grep -v // | while read profile ; do
|
LC_COLLATE=C sort | grep -v // | while read profile ; do
|
||||||
echo -n "$profile" > "$SFS_MOUNTPOINT/.remove"
|
echo -n "$profile" > "$SFS_MOUNTPOINT/.remove"
|
||||||
rc=$?
|
rc=$?
|
||||||
|
Reference in New Issue
Block a user