__acl: command -v stdout to devnull

This commit is contained in:
ander 2019-04-16 15:03:07 +03:00
parent 2b5887bdbd
commit 9e3cd47b9a

View file

@ -22,7 +22,7 @@ acl_path="/$__object_id"
[ ! -e "$acl_path" ] && exit 0
if ! command -v getfacl 2>/dev/null
if ! command -v getfacl > /dev/null
then
echo 'getfacl not available' >&2
exit 1