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
reviewable/pr18780/r1
Jérémie Astori 9 years ago
parent 8eefd44aef
commit 72fb7a0a17

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

Loading…
Cancel
Save