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

init script "configtest" exit value is always 1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 16.0.0, 17.0.0
    • Fix Version/s: 17.1.0
    • Security Level: Default (Default Security Scheme)
    • Labels:
      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

            Assignee:
            Unassigned
            Reporter:
            bobwest Bob West
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: