summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/cron/user.c')
-rw-r--r--usr.sbin/cron/user.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/cron/user.c b/usr.sbin/cron/user.c
index 96995a89aac..87fde990b46 100644
--- a/usr.sbin/cron/user.c
+++ b/usr.sbin/cron/user.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: user.c,v 1.11 2015/01/23 02:37:25 tedu Exp $ */
+/* $OpenBSD: user.c,v 1.12 2015/01/23 18:52:31 tedu Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -78,10 +78,6 @@ load_user(int crontab_fd, struct passwd *pw, const char *name) {
*/
while ((status = load_env(envstr, file)) >= 0) {
switch (status) {
- case -1:
- free_user(u);
- u = NULL;
- goto done;
case FALSE:
e = load_entry(file, NULL, pw, envp);
if (e) {