http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33006
User: guy
Date: 2010/05/27 06:09 PM
Log:
Use return rather than exit in main().
Return 2 for a capture error - we mainly use 1 for command-line syntax
errors (rather than, say, filter syntax errors or an invalid interface).
Now that TShark exits with an error status when given an invalid capture
filter or invalid interface, check for "error" rather than "success" as
an exit status.
Directory: /trunk/test/
Changes Path Action
+2 -2 suite-clopts.sh Modified
Directory: /trunk/
Changes Path Action
+52 -53 tshark.c Modified