tags 662990 + upstream

So far as I can see, restorecon 2.1.10 exits with status 1 if it changed the context of any files and 0 if not.

I bisected this to upstream commit 17c577ac where it appears to be a mistake: process_one_realpath returns 1 if it changed the context, 0 if it did not, and something negative if an error occurred. But the check for the return value being negative became a check for it being non-zero. I will write a patch this weekend.

Best wishes,
Martin Orr




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to