remote-curl: do not complain on EOF from parent git
[gitweb.git] / remote-curl.c
index 10cb0114eafdfd9760b3fdb3c0217d801195ba13..711a7c64ed796fa780ef23889a20e263da7b60bd 100644 (file)
@@ -971,8 +971,6 @@ int main(int argc, const char **argv)
                if (strbuf_getline(&buf, stdin, '\n') == EOF) {
                        if (ferror(stdin))
                                fprintf(stderr, "Error reading command stream\n");
-                       else
-                               fprintf(stderr, "Unexpected end of command stream\n");
                        return 1;
                }
                if (buf.len == 0)