Align messages for "password" parameter
Use same general message if the "password" parameter is given for a FreeBSD target host whether the group exists yet or not Make language clearer surrounding the default case
This commit is contained in:
parent
946d2b9d43
commit
fbdbbddf3b
1 changed files with 7 additions and 1 deletions
|
@ -79,8 +79,14 @@ else
|
|||
gid)
|
||||
proparg="-g"
|
||||
;;
|
||||
password)
|
||||
echo "group/$name: FreeBSD doesn't support password setting" >&2
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
echo "Unknown property: $property" >&2
|
||||
# The type has been updated to support more properties than it knows how to handle for FreeBSD
|
||||
# tell the user about this.
|
||||
echo "Currently unknown property: $property" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue