Description of problem: rhncfg-client get : returns exit code 0 evem when fails Version-Release number of selected component (if applicable): rhncfg-client-5.9.27-1.el5sat How reproducible: Always Steps to Reproduce: 1. Register server to satellite. 2. Create Configuration channel and subscribe the system to it. 2. rhncfg-client get some_file_that_does_not_exists Actual results: Not found on server: some_file_that_does_not_exists Exit code equal to 0 Expected results: Not found on server: some_file_that_does_not_exists Exit code different than 0 Additional info: Ex: # rhncfg-client get /tmp/tmp/file_test_one Deploying /tmp/tmp/file_test_one # echo $? 0 # rhncfg-client get /tmp/tmp/file_test_one_ Not found on server: /tmp/tmp/file_test_one_ # echo $? 0
Additionally, rhncfg-client exits with 0 when "verify" picks up differences. This is not ideal when scripting with the utility and forces one to evaluate the text output of the utility.
*** This bug has been marked as a duplicate of bug 627964 ***