Merge pull request #721 from jimis/master
Fix __group type failing with --gid
This commit is contained in:
		
				commit
				
					
						74d222079b
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -30,9 +30,9 @@ state="$(cat "$__object/parameter/state")"
 | 
				
			||||||
# Use short option names for portability
 | 
					# Use short option names for portability
 | 
				
			||||||
shorten_property() {
 | 
					shorten_property() {
 | 
				
			||||||
   case "$1" in
 | 
					   case "$1" in
 | 
				
			||||||
      gid) echo -- "-g";;
 | 
					      gid) echo " -g";;
 | 
				
			||||||
      password) echo -- "-p";;
 | 
					      password) echo " -p";;
 | 
				
			||||||
      system) echo -- "-r";;
 | 
					      system) echo " -r";;
 | 
				
			||||||
   esac
 | 
					   esac
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue