summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2003-07-06 19:37:40 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2003-07-06 19:37:40 +0000
commitd0c749d35f970b51989bdeaf276556496d1df95a (patch)
tree35c33748ea2b7adb14d9ae114e736f23b72a61de
parent6e82f17aa8540a63ba28ca0b6daaf52e5441888d (diff)
Notes
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 97d24861bb12..78e7ee457c6e 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -373,11 +373,11 @@ buildworld: ${WMAKE_TGTS}
#
installcheck:
.if !defined(NO_SENDMAIL)
- @if ! `grep -q '^smmsp:' /etc/passwd`; then \
+ @if ! `id -u smmsp > /dev/null`; then \
echo "ERROR: Required smmsp user is missing, see /usr/src/UPDATING."; \
false; \
fi
- @if ! `grep -q '^smmsp:' /etc/group`; then \
+ @if ! `id -g smmsp > /dev/null`; then \
echo "ERROR: Required smmsp group is missing, see /usr/src/UPDATING."; \
false; \
fi