mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-16 01:50:50 +02:00
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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user