Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4905

Getting mysqld --help as root exits with 1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 5.5.32
    • None
    • None
    • Linux, Fedora

    Description

      I'm on Fedora and try to get verbose help as root:

      sudo /usr/libexec/mysqld --help --verbose

      It kinda works but the exit code is 1, which is not what I'd expect, since I wanted just help message.

      How to repeat:

      su -
      /usr/libexec/mysqld --help --verbose
      echo $?

      Actual result:
      1
      Expected result:
      0

      Reported also on http://bugs.mysql.com/bug.php?id=70058

      Proposed patch is attached.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hhorak Honza Horak
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.