issues with export_data.sh

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: Installation (I)
    • None

      some issues after the development of ZBX-4024 with export_data.sh script

      (1) no shebang

      (2) uses old fsf mailing address

      (3) more parameter quoting would be suggested (for example, on line 4)

      (4)
      ./export_data.sh "z x" - proceeds despite all errors, including mysql errors and :
      ./export_data.sh: line 29: [: too many arguments

      (5) not critical, but uses hardcoded 'root' user - for some better practice at least a variable would be desirable

            Assignee:
            Unassigned
            Reporter:
            richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: