aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/jail/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/jail/config.c b/usr.sbin/jail/config.c
index cb353ed4563e..554779e84720 100644
--- a/usr.sbin/jail/config.c
+++ b/usr.sbin/jail/config.c
@@ -196,7 +196,7 @@ load_config(void)
TAILQ_FOREACH(vp, &j->params, tq)
if (!strcmp(vp->name, v->name))
break;
- if (!vp) {
+ if (!vp || TAILQ_EMPTY(&vp->val)) {
jail_warnx(j,
"%s: variable \"%s\" not found",
p->name, v->name);