summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1732a1f)
raw | patch | inline | side by side (parent: 1732a1f)
author | Johannes Sixt <johannes.sixt@telecom.at> | |
Wed, 24 Jan 2007 15:03:42 +0000 (16:03 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 30 Jan 2007 10:30:25 +0000 (02:30 -0800) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
send-pack.c | patch | blob | history |
diff --git a/send-pack.c b/send-pack.c
index cd478dd82fdc08094873112b40cbf302623ecc21..33e69dbe1803a8667f383c1f0517867c873dafc4 100644 (file)
--- a/send-pack.c
+++ b/send-pack.c
if (pipe(pipe_fd) < 0)
return error("send-pack: pipe failed");
pid = fork();
+ if (pid < 0)
+ return error("send-pack: unable to fork git-pack-objects");
if (!pid) {
/*
* The child becomes pack-objects --revs; we feed