Merge branch '50-bug-in-subcommand-load-text-which-should-be-displayed-on-the-terminal-must-be-redirected-to-stderr' into 'master'

Resolve "bug in subcommand load: text which should be displayed on the terminal must be redirected to stderr"

Closes #50

See merge request Pmodules/src!20
This commit is contained in:
2019-07-10 17:36:27 +02:00
+1 -1
View File
@@ -519,7 +519,7 @@ subcommand_load() {
fi
if [[ "${Shell}" == "bash" ]]; then
echo "${output}"
echo "${error}"
echo "${error}" 1>&2
else
"${modulecmd}" "${Shell}" ${opts} 'load' \
"${current_modulefile}"