diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 1d73a26..f3400a0 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -2747,7 +2747,7 @@ if (( ${#GroupDepths[@]} == 0 )); then fi case ${subcommand} in - load|purge|search ) + load|purge|search|switch ) declare -r tmpfile=$( ${mktemp} /tmp/Pmodules.XXXXXX ) \ || std::die 1 "Oops: unable to create tmp file!" ;;