Merge pull request #721 from jimis/master

Fix __group type failing with --gid
This commit is contained in:
Darko Poljak 2018-11-18 16:04:26 +01:00 committed by GitHub
commit 74d222079b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@ state="$(cat "$__object/parameter/state")"
# Use short option names for portability
shorten_property() {
case "$1" in
gid) echo -- "-g";;
password) echo -- "-p";;
system) echo -- "-r";;
gid) echo " -g";;
password) echo " -p";;
system) echo " -r";;
esac
}