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:
Jake Guffey 2012-06-25 13:29:10 -04:00
parent 946d2b9d43
commit fbdbbddf3b

View file

@ -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