diff options
author | 2015-01-23 18:52:31 +0000 | |
---|---|---|
committer | 2015-01-23 18:52:31 +0000 | |
commit | 8260657d2893db90e63dbb42f1660b27fc19e929 (patch) | |
tree | 125c420bb261e07279d8dc4f204edbafa4706fa6 | |
parent | Make km_alloc(9) use the direct map for all "phys contig" mappings requested (diff) | |
download | wireguard-openbsd-8260657d2893db90e63dbb42f1660b27fc19e929.tar.xz wireguard-openbsd-8260657d2893db90e63dbb42f1660b27fc19e929.zip |
delete some code that doesn't (and shouldn't) run. ok deraadt millert
-rw-r--r-- | usr.sbin/cron/user.c | 6 |
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) { |