Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Don't use Content-Encoding: header in git_snapshot
[gitweb.git]
/
peek-remote.c
diff --git
a/peek-remote.c
b/peek-remote.c
index 87f1543fec05e88fd1bc554740993397f0aa3807..353da002b4c7632ed66c1b3ceacaa985ec137627 100644
(file)
--- a/
peek-remote.c
+++ b/
peek-remote.c
@@
-66,6
+66,6
@@
int main(int argc, char **argv)
ret = peek_remote(fd, flags);
close(fd[0]);
close(fd[1]);
- finish_connect(pid);
- return ret;
+
ret |=
finish_connect(pid);
+ return
!!
ret;
}