From 077cf0c4be45343f4f9c58f3951c26898b4aaeeb Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 28 Apr 2021 11:46:13 +0200 Subject: [PATCH] modulecmd: bugfix in save_env() Unsetting 'UsedGroups' the way we did doesn't work, revert this change --- Pmodules/modulecmd.bash.in | 1 - 1 file changed, 1 deletion(-) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index af165f3..dc3700a 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.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