Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
log: teach "terminator" vs "separator" mode to "--pretty=format"
[gitweb.git]
/
builtin-verify-tag.c
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
@@
-46,8
+46,10
@@
static int run_gpg_verify(const char *buf, unsigned long size, int verbose)
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);