Description of problem: CLI returns exit code 0 even when an error occurs Version-Release number of selected component (if applicable): 4.9 and before How reproducible: Always Steps to Reproduce: 1.Execute this CLI script === throw "Error" === Actual results: The CLI outputs a JavascriptException and return code is 0 Expected results: The CLI outputs a JavascriptException and return code is different than 0 Additional info: We also need to check the exit code value when: * the user provides wrong server connection credentials * the user provides a nonexistent or unreadable file
Fixed in master commit 204ff60c26d8a5cb48599d10b7c8b209f6e9b0c8 Author: Thomas Segismont <tsegismo> Date: Tue Nov 26 12:09:18 2013 +0100 In non interactive mode, exit code is 1 if : * an error occurs while executing a command or a script * login failed * script file does not exist
Bulk closing of 4.10 issues. If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.