Fix physical walk on acl module for Linux

`-h` is for BSD [1] while `-P`/`--physical` is for Linux [2].
This commit fixes that option now that acl module is (temporarily)
only supported for Linux.
I will re-add `-h` when fixing BSD support.

[1]: http://www.freebsd.org/cgi/man.cgi?format=html&query=setfacl(1)
[2]: http://linuxcommand.org/man_pages/setfacl1.html
This commit is contained in:
Jérémie Astori 2015-08-20 23:35:53 +00:00
parent 8eefd44aef
commit 72fb7a0a17

View file

@ -172,7 +172,7 @@ def build_command(module, mode, path, follow, default, recursive, entry=''):
cmd.append('--recursive')
if not follow:
cmd.append('-h')
cmd.append('--physical')
if default:
if(mode == 'rm'):