mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
fix bug in export status of universal variable assignment
This commit is contained in:
parent
431ef224e0
commit
3c116f6ab3
1 changed files with 1 additions and 1 deletions
2
env.cpp
2
env.cpp
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue