X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git.c;h=380561663061f011189de883a865fbd59a922190;hb=660e20f5c72ba363c08f0d3fca60c9680f296c40;hp=fb9029cbf17bdad1d52ea6eae0c8f4ddf6a13979;hpb=5de89d3abfca98b0dfd0280d28576940c913d60d;p=git.git diff --git a/git.c b/git.c index fb9029cbf..380561663 100644 --- a/git.c +++ b/git.c @@ -495,7 +495,7 @@ static void execv_dashed_external(const char **argv) * if we fail because the command is not found, it is * OK to return. Otherwise, we just pass along the status code. */ - status = run_command_v_opt(argv, RUN_SILENT_EXEC_FAILURE); + status = run_command_v_opt(argv, RUN_SILENT_EXEC_FAILURE | RUN_CLEAN_ON_EXIT); if (status >= 0 || errno != ENOENT) exit(status);