forked from osmocom/wireshark
the "pre-scan" of the command line parameters shouldn't stop the capture child. The child uses a slightly different parameter pattern, so this isn't an error here. Fixes the reported capture problem
svn path=/trunk/; revision=16516
This commit is contained in:
parent
bc5889f6fe
commit
8b24e8d8f0
|
@ -1777,8 +1777,12 @@ main(int argc, char *argv[])
|
|||
/* will never return! */
|
||||
exit(0);
|
||||
break;
|
||||
case '?': /* argument-parsing error - quit now */
|
||||
exit(0);
|
||||
case '?': /* argument-parsing error - quit now if we're a normal Ethereal */
|
||||
/* (a capture child uses a slightly different options pattern, */
|
||||
/* so don't quit here as this error is only meaningful in the "real" run later) */
|
||||
if(!capture_child)
|
||||
exit(0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue