mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-11 08:35:01 +00:00
policycoreutils: fixfiles: tell restorecon to ignore missing paths
Restorecon should default to ignore missing files. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
f6595e357f
commit
cef1d08d1e
@ -176,7 +176,7 @@ if [ -f ${PREFC} -a -x /usr/bin/diff ]; then
|
||||
esac; \
|
||||
fi; \
|
||||
done | \
|
||||
${RESTORECON} -f - -R -p `exclude_dirs`; \
|
||||
${RESTORECON} -i -f - -R -p `exclude_dirs`; \
|
||||
rm -f ${TEMPFILE} ${PREFCTEMPFILE}
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user