summaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-08-12 13:43:46 +0200
committerWerner Koch <wk@gnupg.org>2010-08-12 13:43:46 +0200
commitd4d61b87f153f5c0657a5f698983a20b5398cfff (patch)
tree736a4302a4d11f586f47d50a0d40583f1835385e /common/sysutils.c
parentPass on comments from SCD. (diff)
downloadgnupg2-d4d61b87f153f5c0657a5f698983a20b5398cfff.tar.xz
gnupg2-d4d61b87f153f5c0657a5f698983a20b5398cfff.zip
Fix dirmngr problems on CE.
Add new dirmngr commands. Minor other fixes.
Diffstat (limited to 'common/sysutils.c')
-rw-r--r--common/sysutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/sysutils.c b/common/sysutils.c
index 82d9959d8..b75c5e1e5 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -530,8 +530,8 @@ gnupg_remove (const char *fname)
xfree (wfname);
}
if (!rc)
- gpg_err_set_errno (EIO);
- return !rc;
+ return -1; /* ERRNO is automagically provided by gpg-error.h. */
+ return 0;
#else
return remove (fname);
#endif