Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-35

bugzillaId-451: maxscale main() exit code is always 0 after it daemonizes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.3.0
    • Core
    • None
    • Mac OS

    Description

      This is imported from bugzilla item: http://bugs.mariadb.com/show_bug.cgi?id=451

      Description Massimiliano 2014-06-30 18:50:51 UTC
      The maxscale main() exit code is 0 after daemonize, so next failed action are not returned to caller (shell):

      i.e. Failure in MAXSCALE_HOME results in effective return code 4 for:

      maxscale -d -c /fake/dir

      but is alway 0 for

      maxscale -c /fake/dir ; echo $0

      0

      Daemonize should be called after latest check

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              Massimiliano Pinto Massimiliano Pinto (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.