diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 0443ed7..c632c2d 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -1551,7 +1551,8 @@ subcommand_unuse() { unset IFS unuse() { unuse_overlay() { - if [[ -n "${_LMFILES_}" ]] && [[ ${LOADEDMODULES} != Pmodules/* ]]; then std::die 3 "%s %s: %s -- %s" \ + if [[ -n "${_LMFILES_}" ]] && [[ ${LOADEDMODULES} != Pmodules/* ]]; then + std::die 3 "%s %s: %s -- %s" \ "${CMD}" "${subcommand}" \ "overlays can NOT be removed as long as modules are loaded!" \ "${overlay}"