aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-11-18 07:12:49 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-11-18 07:12:49 +0000
commit5d53a74cd7925a36fee9ddc34abe99696ef48b2f (patch)
tree98a78c4dd606e51e26c203a61358a8897610402a
parent6d9a2762348bb30e5cebfd0828dc42411fbc62fe (diff)
downloadsrc-5d53a74cd7925a36fee9ddc34abe99696ef48b2f.tar.gz
src-5d53a74cd7925a36fee9ddc34abe99696ef48b2f.zip
fix my previous commit here.. I broke the branch compile with a linker
error due to an undefined function that exists in 8.8 but not 8.7. Pointed out by: rgrimes
Notes
Notes: svn path=/stable/2.1/; revision=19848
-rw-r--r--usr.sbin/sendmail/src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sendmail/src/main.c b/usr.sbin/sendmail/src/main.c
index 617f896f85bf..484af93ba9bb 100644
--- a/usr.sbin/sendmail/src/main.c
+++ b/usr.sbin/sendmail/src/main.c
@@ -790,13 +790,12 @@ main(argc, argv, envp)
if (RealUid != 0)
{
#ifdef LOG
- syslog(LOG_ALERT, "uid %d tried to start daemon mode",
- RealUid);
+ if (LogLevel > 0)
+ syslog(LOG_ALERT, "uid %d tried to start daemon mode", RealUid);
#endif
usrerr("Permission denied");
exit(EX_USAGE);
}
- vendor_daemon_setup(CurEnv);
/* remove things that don't make sense in daemon mode */
FullName = NULL;