mirror of
https://github.com/envmodules/modules.git
synced 2026-06-03 00:33:18 +08:00
According to ShellCheck's documentation: In the original code, the return value of mycmd in $(mycmd) is ignored, and export will instead always return true. This may prevent conditionals, set -e and traps from working correctly. Related: https://www.shellcheck.net/wiki/SC2155 Related: #470