diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 0d0ea4b..d4e0552 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -947,9 +947,6 @@ subcommand_avail() { esac shift done - if [[ "${opt_all_groups}" = 'yes' ]]; then - rescan_groups "${!Overlays[@]}" - fi if (( ${#pattern[@]} == 0 )); then pattern+=( '' ) fi