Silence getfacl

otherwise it always prints the message:

    getfacl: Removing leading '/' from absolute path names
This commit is contained in:
Dimitrios Apostolou 2019-04-15 20:51:02 +02:00
parent 6062e3557c
commit 437af3a0a3

View file

@ -20,7 +20,7 @@
if [ -e "/$__object_id" ]
then
getfacl "/$__object_id" \
getfacl "/$__object_id" 2>/dev/null \
| grep -E '^((default:)?(user|group):[^:]|(default:)?mask::)' \
|| true
fi