aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-lock-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-lock-client.c')
-rw-r--r--camel/camel-lock-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-lock-client.c b/camel/camel-lock-client.c
index d55bb5ff15..a2dc1e591a 100644
--- a/camel/camel-lock-client.c
+++ b/camel/camel-lock-client.c
@@ -104,12 +104,12 @@ static int write_n(int fd, void *buffer, int inlen)
static int camel_lock_helper_init(CamelException *ex)
{
- /* FIXME: check returns */
if (pipe(lock_stdin_pipe) == -1
|| pipe(lock_stdout_pipe) == -1) {
camel_exception_setv(ex, CAMEL_EXCEPTION_SYSTEM,
_("Cannot build locking helper pipe: %s"),
strerror(errno));
+ return -1;
}
lock_helper_pid = fork();