Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8112

init script "configtest" exit value is always 1

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 16.0.0, 17.0.0
    • 17.1.0
    • Security Level: Default (Default Security Scheme)
    • None

    Description

      The return value from checkXmlFiles() is not assigned to the variable $ret, so the exit value is not passed to the 'exit' call. Rather, as $ret is undefined, the script exit value is the result of '[ -f /etc/SuSE-release ]', which will always be 1 for non-SuSE platforms.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bobwest Bob West (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: