fixup! _autoenv_hash_pair: do not use a subshell

This commit is contained in:
Daniel Hahler 2017-12-14 13:58:29 +01:00
parent 9446903edc
commit 37afec04f7
1 changed files with 1 additions and 1 deletions

View File

@ -222,8 +222,8 @@ _autoenv_authorize() {
local env_file=${1:A}
_autoenv_deauthorize $env_file
[[ -d ${AUTOENV_AUTH_FILE:h} ]] || mkdir -p ${AUTOENV_AUTH_FILE:h}
local ret_pair
{
local ret_pair
_autoenv_hash_pair $env_file && echo "$ret_pair"
} >>| $AUTOENV_AUTH_FILE
}