diff options
-rw-r--r-- | usr.sbin/cron/lib/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/cron/lib/misc.c b/usr.sbin/cron/lib/misc.c index 89f15e4..5f6b89f 100644 --- a/usr.sbin/cron/lib/misc.c +++ b/usr.sbin/cron/lib/misc.c @@ -415,6 +415,7 @@ allowed(username) isallowed = FALSE; + deny = NULL; #if defined(ALLOW_FILE) && defined(DENY_FILE) if ((allow = fopen(ALLOW_FILE, "r")) == NULL && errno != ENOENT) goto out; @@ -423,7 +424,6 @@ allowed(username) Debug(DMISC, ("allow/deny enabled, %d/%d\n", !!allow, !!deny)) #else allow = NULL; - deny = NULL; #endif if (allow) |