https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6994

--- Comment #11 from linda w <[email protected]> ---

Simpler would be to change the system line:
    system("chacl -B log 2>/dev/null || setfacl -b log 2>/dev/null")

Then you have your test for existence and execution in 1 line.

That assumes the error message was on stderr, else redirect stdout 
as well.
The point of using chacl || setfacl, was to pick up which ever
(if any) was on the system.  If none are on the system, unlikely
ACLs are in use, so partial or complete failure is ok...

Good until someone comes up with other commonly used routines
to manage / change acls.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to