mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-30 03:09:40 +02:00
modulecmd: bugfix in save_env()
Unsetting 'UsedGroups' the way we did doesn't work, revert this change
This commit is contained in:
@@ -112,7 +112,6 @@ save_env() {
|
||||
local s=$(typeset -p ${vars[@]})
|
||||
declare -g PMODULES_ENV=$( "${base64}" --wrap=0 <<< "$s" )
|
||||
export_env 'PMODULES_ENV'
|
||||
unset UsedGroups
|
||||
}
|
||||
|
||||
trap 'save_env ${g_env_must_be_saved}' EXIT
|
||||
|
||||
Reference in New Issue
Block a user