aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar Jan Kanis <jan.code@jankanis.nl>2012-12-28 21:58:23 +0100
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-02 23:31:30 -0800
commit3c116f6ab3105b321c8b2e659d8fc63e315bc423 (patch)
treecb3547e83e5565c07a8970df48fea3492d942d10 /env.cpp
parent431ef224e0c776a776806fe056070eae0bf57853 (diff)
fix bug in export status of universal variable assignment
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.cpp b/env.cpp
index 87f2fc1f..370a636a 100644
--- a/env.cpp
+++ b/env.cpp
@@ -816,7 +816,7 @@ int env_set(const wcstring &key, const wchar_t *val, int var_mode)
if (!(var_mode & ENV_EXPORT) &&
!(var_mode & ENV_UNEXPORT))
{
- env_universal_get_export(key);
+ exportv = env_universal_get_export(key);
}
else
{