Use find -exec + so that failures will be visible in find's exit code (#16389)
Fixes #16385
This commit is contained in:
parent
05536b3be5
commit
a7f93be2b6
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class ShellBase(object):
|
|||
|
||||
cmd = ['setfacl', '-m', 'u:%s:%s' % (user, mode)]
|
||||
if recursive:
|
||||
cmd = ['find', path, '-exec'] + cmd + ["'{}'", "';'"]
|
||||
cmd = ['find', path, '-exec'] + cmd + ["'{}'", "'+'"]
|
||||
else:
|
||||
cmd.append(path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue