diff options
author | ru <ru@FreeBSD.org> | 2004-03-12 13:24:17 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-03-12 13:24:17 +0000 |
commit | a1adcec7f70b7dbed361f819ba746cf95c8d7a68 (patch) | |
tree | c864cd70821f69e0599c302bafd18206beb46520 | |
parent | 893c24a298eadb63163b3c826cbda388a8d9a589 (diff) | |
download | FreeBSD-src-a1adcec7f70b7dbed361f819ba746cf95c8d7a68.zip FreeBSD-src-a1adcec7f70b7dbed361f819ba746cf95c8d7a68.tar.gz |
Hide internal implementation details of UID/GID checks from the user.
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 2ff3ff6..6b4eaec 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -419,13 +419,13 @@ CHECK_GIDS+= proxy authpf .endif installcheck: ${SPECIAL_INSTALLCHECKS} .for uid in ${CHECK_UIDS} - @if ! `id -u ${uid} > /dev/null`; then \ + @if ! `id -u ${uid} >/dev/null 2>&1`; then \ echo "ERROR: Required ${uid} user is missing, see /usr/src/UPDATING."; \ false; \ fi .endfor .for gid in ${CHECK_GIDS} - @if ! `find / -prune -group ${gid} > /dev/null`; then \ + @if ! `find / -prune -group ${gid} >/dev/null 2>&1`; then \ echo "ERROR: Required ${gid} group is missing, see /usr/src/UPDATING."; \ false; \ fi |