summaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sysutils.c')
-rw-r--r--common/sysutils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/sysutils.c b/common/sysutils.c
index 9e5717649..c6c9bda8e 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -604,7 +604,7 @@ gnupg_setenv (const char *name, const char *value, int overwrite)
(void)overwrite;
return 0;
#else
- setenv (name, value, overwrite);
+ return setenv (name, value, overwrite);
#endif
}
@@ -616,9 +616,9 @@ gnupg_unsetenv (const char *name)
return 0;
#else
# ifdef HAVE_UNSETENV
- unsetenv (name);
+ return unsetenv (name);
# else
- putenv (name);
+ return putenv (name);
# endif
#endif
}