Description of problem: If you run rpm with an invalid command line rpm returns with an exit code 0 signifying all was well, when in fact all was not well. Version-Release number of selected component (if applicable): 4.0.4-7x.20 How reproducible: Always Steps to Reproduce: 1. Run: rpm qa 2. Type: echo $? Actual results: rpm prints the usage, and the echo the exit code prints 0. Expected results: rpm prints usage and exit code was greater than zero. Additional info: None.
Already fixed in CVS, rpm-4.2-0.59 when built.