summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/do_command.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-10-23 18:42:56 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-10-23 18:42:56 +0000
commit53ebce118ad02b2fbd10a1bb13db3b6d84581bdb (patch)
treed96608457fb0fedca660388e2227c69f41951e37 /usr.sbin/cron/do_command.c
parent8a024999992d265925b4bae697832bb336459d4d (diff)
remove some more ifdef maziness
Diffstat (limited to 'usr.sbin/cron/do_command.c')
-rw-r--r--usr.sbin/cron/do_command.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/cron/do_command.c b/usr.sbin/cron/do_command.c
index 912f97b5d4c..7dad70e8390 100644
--- a/usr.sbin/cron/do_command.c
+++ b/usr.sbin/cron/do_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: do_command.c,v 1.48 2015/10/03 19:47:21 tedu Exp $ */
+/* $OpenBSD: do_command.c,v 1.49 2015/10/23 18:42:55 tedu Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -362,10 +362,6 @@ child_process(entry *e, user *u)
usernm, first_word(hostname, "."),
e->cmd);
fprintf(mail, "Auto-Submitted: auto-generated\n");
-#ifdef MAIL_DATE
- fprintf(mail, "Date: %s\n",
- arpadate(&StartTime));
-#endif /*MAIL_DATE*/
for (env = e->envp; *env; env++)
fprintf(mail, "X-Cron-Env: <%s>\n",
*env);