From d4d61b87f153f5c0657a5f698983a20b5398cfff Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 12 Aug 2010 11:43:46 +0000 Subject: Fix dirmngr problems on CE. Add new dirmngr commands. Minor other fixes. --- common/sysutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/sysutils.c') 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 -- cgit v1.2.3