diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 124c95d..f630ddf 100755 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -642,6 +642,7 @@ subcommand_unload() { PMODULES_HOME=${saved_home} export_env 'PMODULES_HOME' fi + g_env_must_be_saved='yes' } ##############################################################################