summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse.c b/lib/parse.c
index afbbbf9..bc11ebb 100644
--- a/lib/parse.c
+++ b/lib/parse.c
@@ -1643,7 +1643,7 @@ ipset_call_parser(struct ipset_session *session,
if (ipset_data_flags_test(data, IPSET_FLAG(arg->opt))
&& !(arg->opt == IPSET_OPT_FAMILY
&& ipset_data_test_ignored(data, IPSET_OPT_FAMILY)))
- syntax_err("%s already specified", arg->name[0]);
+ return syntax_err("%s already specified", arg->name[0]);
return arg->parse(session, arg->opt, str);
}