mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 01:53:08 +02:00
echo text to stderr in subcommand load
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