mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-12 00:00:48 +02:00
Pmodules/modulecmd.bash.in: subcommand_load(): do not print the error message from modulecmd.bin
This commit is contained in:
@@ -825,7 +825,7 @@ subcommand_load() {
|
||||
echo "${output}"
|
||||
eval "${output}"
|
||||
local error=$( < "${tmpfile}")
|
||||
echo "${error}" 1>&2
|
||||
#echo "${error}" 1>&2
|
||||
if [[ "${error}" =~ ":ERROR:" ]]; then
|
||||
std::info "${CMD} load: failed -- ${m}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user