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:
parent
2f1d89c4f5
commit
0418e1b6b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user