From 92aff2d54830877024b46d3bffd175ada89eca5d Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Mon, 19 Nov 2012 21:41:40 +0000 Subject: Failure to find the interface should cause *shark to exit with a status of 1, not 2. svn path=/trunk/; revision=46089 --- capture_opts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capture_opts.c') 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; } -- cgit v1.2.1