-
Type: Task
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Sometimes tools will exit with an ExitCode of 0 (success) even when they have clearly failed. This seems to be due to code in tool.cpp in the Tool::main function. Tools should be exiting with exit codes that correspond to the actual exit status of the tool.
- depends on
-
SERVER-5520 Shutdown rewrite (tracking ticket)
- Closed
- is related to
-
TOOLS-11 mongodump exits with success despite 'no space left on device' error
- Closed
-
SERVER-1994 mongorestore doesn't return an error code to OS when the requested operation can't be completed.
- Closed
- related to
-
SERVER-15096 Create standalone tool to read/write directly from stored format
- Closed