diff options
Diffstat (limited to 'common/env.c')
-rw-r--r-- | common/env.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/env.c b/common/env.c index defb26b3b7..05ed71418e 100644 --- a/common/env.c +++ b/common/env.c @@ -247,8 +247,7 @@ int export(const char *varname) if (val) { setenv_raw(context->global, varname, val); setenv_raw(context->local, varname, NULL); - return 0; } - return -1; + return 0; } EXPORT_SYMBOL(export); |