Closed abitrolly closed 3 months ago
If $XDG_RUNTIME_DIR is not set, then [ -w $XDG_RUNTIME_DIR ] passes.
Quotes fix the issue.
shellcheck was able to detect this, but fails to explain what happens (https://github.com/koalaman/shellcheck/issues/3006).
shellcheck
there are some linter warnings (out-of-scope), could please fix them in a new commit. Thanks
@fahedouch done in #3138.
If $XDG_RUNTIME_DIR is not set, then [ -w $XDG_RUNTIME_DIR ] passes.
Quotes fix the issue.
shellcheck
was able to detect this, but fails to explain what happens (https://github.com/koalaman/shellcheck/issues/3006).