diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 6772c84..6a0e1b0 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -1494,6 +1494,7 @@ subcommand_use() { "${CMD}" "${subcommand}" \ "illegal group" \ "${arg}" + fi std::append_path UsedGroups "$1" local overlay group for overlay in "${OverlayList[@]}"; do