From 7e108144694eb5c576b90ea4fabfac8dcf804e1b Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 10 Jul 2019 17:35:56 +0200 Subject: [PATCH] echo text to stderr in subcommand load --- Pmodules/modulecmd.bash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 6746448..3b227f4 100755 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.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}"