[SERVER-1994] mongorestore doesn't return an error code to OS when the requested operation can't be completed. Created: 24/Oct/10  Updated: 12/Jul/16  Resolved: 08/Oct/12

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 1.6.3
Fix Version/s: 2.3.0

Type: Bug Priority: Minor - P4
Reporter: Valery Khamenya Assignee: Adam Comerford
Resolution: Done Votes: 3
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 10.10 amd64


Issue Links:
Depends
Related
related to TOOLS-161 Have tools always exit with non-zero ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

$ mongorestore totally-wrong-path && echo how come...
connected to: 127.0.0.1
don't know what to do with [totally-wrong-path]
how come...



 Comments   
Comment by Adam Comerford [ 03/Oct/12 ]

Submitted pull request with the needed changes:

https://github.com/mongodb/mongo/pull/308

Generated at Thu Feb 08 02:58:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.