Commit cd1fefa9 authored by Alvaro Herrera's avatar Alvaro Herrera

Avoid clobbering errno, per comment from Tom.

parent 83c759ea
......@@ -357,8 +357,8 @@ pipe_read_line(char *cmd, char *line, int maxsize)
if (fgets(line, maxsize, pgver) == NULL)
{
pclose(pgver); /* no error checking */
perror("fgets failure");
pclose(pgver); /* no error checking */
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment