summaryrefslogtreecommitdiffstats
path: root/iptables/xshared.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/xshared.c')
-rw-r--r--iptables/xshared.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/iptables/xshared.c b/iptables/xshared.c
index c5a93290..1fd7acc9 100644
--- a/iptables/xshared.c
+++ b/iptables/xshared.c
@@ -1473,8 +1473,7 @@ void do_parse(int argc, char *argv[],
XTF_TRY_LOAD, &cs->matches);
xt_params->print_help(cs->matches);
- p->command = CMD_NONE;
- return;
+ exit(0);
/*
* Option selection