From 7930c68bef8756f446d89fffb07160cf4a27f4cc Mon Sep 17 00:00:00 2001 From: Vincent Pit Date: Fri, 23 Oct 2009 22:34:04 +0200 Subject: [PATCH] Cap the exit code of the bisecting script Segfaults cause $? to be set to 139 on my machine, which stops the bisect process. --- pod/perlrepository.pod | 1 + 1 file changed, 1 insertion(+) diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 2924b39..a72be28 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -565,6 +565,7 @@ testcase: [ -x ./perl ] || exit 125 ./perl -Ilib ~/testcase.pl ret=$? + [ $ret -gt 127 ] && ret=127 git clean -dxf exit $ret -- 1.8.3.1