Fix getUserDir to not solely rely on env var HOME

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.1.10
    • Affects Version/s: 3.6.10
    • Component/s: None
    • None
    • Fully Compatible
    • v4.0, v3.6
    • Dev Tools 2019-02-11, Dev Tools 2019-02-25, Dev Tools 2019-03-11, Dev Tools 2019-03-25
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Shell should not rely solely on env var HOME. It's very often not set at all when launching scripts e.g from cron or other apps. This causes shell to output a warning that it could not save .dbshell and thus making it very hard to parse output from shell as it would result in malformed JSON when retrieving data.

            Assignee:
            ADAM Martin (Inactive)
            Reporter:
            Miłosz Suchy
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: