summaryrefslogtreecommitdiff
path: root/contrib/sendmail/makemap/makemap.c
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2000-10-01 02:03:50 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2000-10-01 02:03:50 +0000
commitd995d2ba6b346ad29395c43f83421c01a446d2ae (patch)
treed8256a7f3052e793e68309e6e24f371b7e77065b /contrib/sendmail/makemap/makemap.c
parenta9ff8c001c741032fbc358f1f6245a08862c4eaa (diff)
Notes
Diffstat (limited to 'contrib/sendmail/makemap/makemap.c')
-rw-r--r--contrib/sendmail/makemap/makemap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sendmail/makemap/makemap.c b/contrib/sendmail/makemap/makemap.c
index 33acfb805497..0506dc4745a3 100644
--- a/contrib/sendmail/makemap/makemap.c
+++ b/contrib/sendmail/makemap/makemap.c
@@ -21,7 +21,7 @@ static char copyright[] =
#endif /* ! lint */
#ifndef lint
-static char id[] = "@(#)$Id: makemap.c,v 8.135.4.10 2000/07/18 05:41:39 gshapiro Exp $";
+static char id[] = "@(#)$Id: makemap.c,v 8.135.4.11 2000/09/13 01:11:10 gshapiro Exp $";
#endif /* ! lint */
/* $FreeBSD$ */
@@ -339,7 +339,7 @@ main(argc, argv)
(void) database->smdb_sync(database, 0);
- if (geteuid() == 0 && TrustedUid != 0)
+ if (!unmake && geteuid() == 0 && TrustedUid != 0)
{
errno = database->smdb_set_owner(database, TrustedUid, -1);
if (errno != SMDBE_OK)