fix bug in export status of universal variable assignment

This commit is contained in:
Jan Kanis 2012-12-28 21:58:23 +01:00 committed by ridiculousfish
parent 431ef224e0
commit 3c116f6ab3

View file

@ -816,7 +816,7 @@ int env_set(const wcstring &key, const wchar_t *val, int var_mode)
if (!(var_mode & ENV_EXPORT) && if (!(var_mode & ENV_EXPORT) &&
!(var_mode & ENV_UNEXPORT)) !(var_mode & ENV_UNEXPORT))
{ {
env_universal_get_export(key); exportv = env_universal_get_export(key);
} }
else else
{ {