diff -r 7105a4535fe6 -r c6a00c98bf46 finch/gntdebug.c --- a/finch/gntdebug.c Tue Jun 29 19:22:31 2010 +0000 +++ b/finch/gntdebug.c Wed Jun 30 01:12:54 2010 +0000 @@ -77,7 +77,10 @@ } return; } - pipe(pipes); + if (pipe(pipes)) { + readhandle = -1; + return; + }; dup2(pipes[1], STDERR_FILENO); stderrch = g_io_channel_unix_new(pipes[0]);