diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-03-12 13:24:17 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-03-12 13:24:17 +0000 |
commit | e436e60bb8bae3f32e4d8bd366f8ac398742a718 (patch) | |
tree | c864cd70821f69e0599c302bafd18206beb46520 /Makefile.inc1 | |
parent | 2ff05f90ae5fc7380cbdbd5a93b8e4dab6e4ae0d (diff) | |
download | src-e436e60bb8bae3f32e4d8bd366f8ac398742a718.tar.gz src-e436e60bb8bae3f32e4d8bd366f8ac398742a718.zip |
Hide internal implementation details of UID/GID checks from the user.
Notes
Notes:
svn path=/head/; revision=126876
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 2ff3ff604e46..6b4eaec5e608 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 |