summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4637e47)
raw | patch | inline | side by side (parent: 4637e47)
author | Johannes Sixt <johannes.sixt@telecom.at> | |
Wed, 2 Apr 2008 06:49:59 +0000 (08:49 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 2 Apr 2008 07:08:30 +0000 (00:08 -0700) |
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-verify-tag.c | patch | blob | history |
diff --git a/builtin-verify-tag.c b/builtin-verify-tag.c
index f3ef11fa2d582682b428d6e165da65f05e2d7511..db81496b464e253341a42e01eb72d6845e87199c 100644 (file)
--- a/builtin-verify-tag.c
+++ b/builtin-verify-tag.c
gpg.argv = args_gpg;
gpg.in = -1;
args_gpg[2] = path;
- if (start_command(&gpg))
+ if (start_command(&gpg)) {
+ unlink(path);
return error("could not run gpg.");
+ }
write_in_full(gpg.in, buf, len);
close(gpg.in);