diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 5502845..d593fc0 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -729,6 +729,7 @@ subcommand_unload() { PMODULES_HOME=${saved_home} export_env 'PMODULES_HOME' fi + g_env_must_be_saved='yes' } ##############################################################################