__acl: check for X after last occurrence of colon

remotes/katolaz/master
Ander Punnar 6 years ago
parent f23099218a
commit 68f61c35ff
  1. 2
      cdist/conf/type/__acl/gencode-remote

@ -37,7 +37,7 @@ do
while read -r acl
do
if echo "$acl" | grep -Fq 'X'
if echo "$acl" | sed -r 's/(.*)://' | grep -Fq 'X'
then
if [ "$is_dir" = '1' ]
then

Loading…
Cancel
Save