af1c9091e3
process_one_realpath returns 1 if it changed the context of the file but process_glob treats all non-zero values as errors. This results in setfiles exiting with non-zero status even though it was successful. Fix process_glob to only treat negative return values of process_one_realpath as errors. cf. http://bugs.debian.org/662990 Signed-off-by: Martin Orr <martin@martinorr.name> Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
restore.c | ||
restore.h | ||
restorecon.8 | ||
setfiles.8 | ||
setfiles.c |