Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-161

Have tools always exit with non-zero exit code on error

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: