modulecmd: save environment after unloading a module

(cherry picked from commit 9a0d55ed85)
This commit is contained in:
2021-05-06 07:25:26 +00:00
committed by gsell
parent 37bc7af084
commit daead01197
+1
View File
@@ -642,6 +642,7 @@ subcommand_unload() {
PMODULES_HOME=${saved_home}
export_env 'PMODULES_HOME'
fi
g_env_must_be_saved='yes'
}
##############################################################################