[SERVER-19245] Shell exits with successful return code upon failure Created: 01/Jul/15 Updated: 19/Sep/15 Resolved: 01/Sep/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 2.6.5, 3.0.4 |
| Fix Version/s: | 3.1.8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Chris Bandy | Assignee: | Jonathan Reams |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible | |||
| Operating System: | ALL | |||
| Steps To Reproduce: |
|
|||
| Sprint: | Build 7 08/10/15, Build 8 08/31/15, Build 9 (09/18/15) | |||
| Participants: |
| Description |
|
Passing invalid Javascript to the shell prints an error message, but exits zero. When scripting tasks, I expect the shell to exit non-zero when there are errors. |
| Comments |
| Comment by Githook User [ 01/Sep/15 ] |
|
Author: {u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}Message: |
| Comment by Ramon Fernandez Marina [ 02/Jul/15 ] |
|
Thanks for your report cbandy, I'm marking this ticket as "Needs Triage" for further consideration. Regards, |