__acl: command -v stdout to devnull
This commit is contained in:
parent
2b5887bdbd
commit
9e3cd47b9a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ acl_path="/$__object_id"
|
||||||
|
|
||||||
[ ! -e "$acl_path" ] && exit 0
|
[ ! -e "$acl_path" ] && exit 0
|
||||||
|
|
||||||
if ! command -v getfacl 2>/dev/null
|
if ! command -v getfacl > /dev/null
|
||||||
then
|
then
|
||||||
echo 'getfacl not available' >&2
|
echo 'getfacl not available' >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue