Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 33006: /trunk/ /trunk/test/: suite-clopts.sh /trunk/: ts

Date: Fri, 28 May 2010 01:09:30 GMT
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