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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: