modulecmd: save environment after unloading a module

This commit is contained in:
2021-05-06 09:25:26 +02:00
parent 325551eecd
commit 9a0d55ed85
+1
View File
@@ -729,6 +729,7 @@ subcommand_unload() {
PMODULES_HOME=${saved_home}
export_env 'PMODULES_HOME'
fi
g_env_must_be_saved='yes'
}
##############################################################################