forked from ungleich-public/cdist
		
	__acl: check for X after last occurrence of colon
This commit is contained in:
		
					parent
					
						
							
								f23099218a
							
						
					
				
			
			
				commit
				
					
						68f61c35ff
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue