forked from ungleich-public/cdist
		
	Merge branch 'fix-sshkeys-escape' into 'master'
[__ssh_authorized_keys] Fix incorrectly escaped variable See merge request ungleich-public/cdist!799
This commit is contained in:
		
				commit
				
					
						4345afc8d8
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -35,10 +35,10 @@ else
 | 
				
			||||||
	case $owner
 | 
						case $owner
 | 
				
			||||||
	in
 | 
						in
 | 
				
			||||||
		[0-9][0-9]*)
 | 
							[0-9][0-9]*)
 | 
				
			||||||
			gid=$(awk -F: "\$3 == \"${owner}\" { print $4 }" /etc/passwd)
 | 
								gid=$(awk -F: "\$3 == \"${owner}\" { print \$4 }" /etc/passwd)
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
		*)
 | 
							*)
 | 
				
			||||||
			gid=$(awk -F: "\$1 == \"${owner}\" { print $4 }" /etc/passwd)
 | 
								gid=$(awk -F: "\$1 == \"${owner}\" { print \$4 }" /etc/passwd)
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
	esac
 | 
						esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue