commit | 2488df84a28b5eaae5495a59e390b51874d60a03 | [log] [tgz] |
---|---|---|
author | Johannes Sixt <johannes.sixt@telecom.at> | Tue Nov 13 21:05:02 2007 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Nov 14 15:18:39 2007 -0800 |
tree | 26d139eb8da8bd8fe01b52d8077959a859b621f9 | |
parent | 80bbe72b76ab91628b493b55ed74f6eec8432fed [diff] |
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>