diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 186dfd3..25f1036 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -2911,9 +2911,6 @@ if [[ -z ${Version} ]] || [[ ${Version} != ${PMODULES_VERSION} ]]; then _LMFILES_ fi -if (( ${#GroupDepths[@]} == 0 )); then - scan_groups "${UsedOverlays[@]}" - g_env_must_be_saved='yes' fi # We need a tmp-file in the following sub-commands. It will be removed