builtin run_command: do not exit with -1.
commit2488df84a28b5eaae5495a59e390b51874d60a03
authorJohannes Sixt <johannes.sixt@telecom.at>
Tue, 13 Nov 2007 20:05:02 +0000 (13 21:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2007 23:18:39 +0000 (14 15:18 -0800)
tree26d139eb8da8bd8fe01b52d8077959a859b621f9
parent80bbe72b76ab91628b493b55ed74f6eec8432fed
builtin run_command: do not exit with -1.

There are shells that do not correctly detect an exit code of -1 as a
failure. We simply truncate the status code to the lower 8 bits.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c