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; \
|
esac; \
|
||||||
fi; \
|
fi; \
|
||||||
done | \
|
done | \
|
||||||
${RESTORECON} -f - -R -p `exclude_dirs`; \
|
${RESTORECON} -i -f - -R -p `exclude_dirs`; \
|
||||||
rm -f ${TEMPFILE} ${PREFCTEMPFILE}
|
rm -f ${TEMPFILE} ${PREFCTEMPFILE}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue