summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/cron/env.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/cron/env.c b/usr.sbin/cron/env.c
index 2b71b3e9578..099957c6384 100644
--- a/usr.sbin/cron/env.c
+++ b/usr.sbin/cron/env.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: env.c,v 1.22 2009/10/27 23:59:51 deraadt Exp $ */
+/* $OpenBSD: env.c,v 1.23 2011/01/18 14:29:21 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -201,6 +201,9 @@ load_env(char *envstr, FILE *f) {
else
state++;
break;
+ case ERROR:
+ /* handled below */
+ break;
}
}
if (state != FINI && !(state == VALUE && !quotechar)) {