summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 97d2486..78e7ee4 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
OpenPOWER on IntegriCloud