commit:     a29cb0c28df448a5c47bf2d793fb63437c7a1feb
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 17 08:31:48 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Apr 17 08:31:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a29cb0c2

scripts/bootstrap-prefix: fix non-RAP bootstraps, bug #782880

Force success return at end of configure_toolchain such that a previous
condition expression doesn't accidentially affect the return code.

Thanks hsk17 for finding this issue.

Closes: https://bugs.gentoo.org/782880
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index dd534d0aac..566d692a19 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -282,7 +282,7 @@ configure_toolchain() {
                        ;;
        esac
 
-       return
+       return 0
 }
 
 bootstrap_setup() {

Reply via email to