author | Clemens Buchacher <drizzd@aon.at> | |
Wed, 27 Jul 2011 21:32:34 +0000 (23:32 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Aug 2011 01:27:07 +0000 (18:27 -0700) | ||
commit | 3bc4181fde899e02aff89f7c0a47f18d37311cb3 | |
tree | eacd31e4e1a91b6ad7fb2317b007c5203675e0e6 | tree | snapshot |
parent | 2579e1d2936ad4e385ef21e5c346d9853d7faa01 | commit | diff |
error_routine: use parent's stderr if exec fails
The new process's error output may be redirected elsewhere, but if
the exec fails, output should still go to the parent's stderr. This
has already been done for the die_routine. Do the same for
error_routine.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The new process's error output may be redirected elsewhere, but if
the exec fails, output should still go to the parent's stderr. This
has already been done for the die_routine. Do the same for
error_routine.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h | diff | blob | history | |
run-command.c | diff | blob | history | |
usage.c | diff | blob | history |