forked from ungleich-public/cdist
		
	fix typo in group entry extraction
This commit is contained in:
		
					parent
					
						
							
								a915baa73b
							
						
					
				
			
			
				commit
				
					
						997fdd8ac4
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -26,7 +26,7 @@ if [ -f "$__object/parameter/gid" ]; then
 | 
				
			||||||
   if [ -x /usr/bin/getent ] || [ -x /bin/getent ]; then
 | 
					   if [ -x /usr/bin/getent ] || [ -x /bin/getent ]; then
 | 
				
			||||||
      getent group "$gid" || true
 | 
					      getent group "$gid" || true
 | 
				
			||||||
   elif [ -f /etc/group ]; then
 | 
					   elif [ -f /etc/group ]; then
 | 
				
			||||||
      grep -E "^(${gid}|([^:]:){2}${gid}):" /etc/group || true
 | 
					      grep -E "^(${gid}|([^:]+:){2}${gid}):" /etc/group || true
 | 
				
			||||||
   fi
 | 
					   fi
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue