Red Hat Bugzilla – Bug 501200
incorrect exit codes - invalid interface and invalid capture filter
Last modified: 2009-05-18 16:38:15 EDT
Description of problem:
Tethereal returned incorrect exit codes in this cases:
- input is invalid name of interface
- input is invalid capture filter
Version-Release number of selected component (if applicable):
Steps to Reproduce:
/usr/bin/single_package.py -S rhts.redhat.com -e development -u email@example.com -a i386 -d RHEL5-Client-U3 -t /CoreOS/wireshark/Crasher/tethereal/exit-codes
exit code is 0
exit code 1
I am using tethereal in subsequent command line pipeline and the current behavior is misleading, so I can't detect tethereal failures due it.
Please, retest with the latest wireshark version.
version 1.0.7, development version 1.1.3 and current cvs version has the same result.