Use 'pw groupshow' instead of 'id -g' to see if a group exists.

PR:		64073
Submitted by:	jhb
MFC after:	5 days
This commit is contained in:
gshapiro 2004-03-12 03:46:15 +00:00
parent 2f1d89c4f5
commit 0418e1b6b2

View File

@ -413,7 +413,7 @@ installcheck: ${SPECIAL_INSTALLCHECKS}
echo "ERROR: Required smmsp user is missing, see /usr/src/UPDATING."; \
false; \
fi
@if ! `id -g smmsp > /dev/null`; then \
@if ! `pw groupshow smmsp > /dev/null`; then \
echo "ERROR: Required smmsp group is missing, see /usr/src/UPDATING."; \
false; \
fi