diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-11-19 21:41:40 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-11-19 21:41:40 +0000 |
commit | 92aff2d54830877024b46d3bffd175ada89eca5d (patch) | |
tree | 243085c81227384a5f84e6fbb61d5b46c592b3aa /capture_opts.c | |
parent | 89c33a8266809342954388f7157a7419f4bbad2f (diff) |
Failure to find the interface should cause *shark to exit with a status of 1, not 2.
svn path=/trunk/; revision=46089
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 2 |
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; } |