Failure to find the interface should cause *shark to exit with a status of 1, not 2.

svn path=/trunk/; revision=46089
This commit is contained in:
Jeff Morriss 2012-11-19 21:41:40 +00:00
parent 89c33a8266
commit 92aff2d548
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}