aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--capture_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_opts.c b/capture_opts.c
index 4e272d19be..af380ba654 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -465,7 +465,7 @@ capture_opts_add_iface_opt(capture_options *capture_opts, const char *optarg_str
cmdarg_err("There are no interfaces on which a capture can be done");
break;
}
- return 2;
+ return 1;
}