From: yaowenbin Date: Thu, 28 Jul 2022 09:22:47 +0000 (+0800) Subject: gdb/gdb_mbuild.sh: use return instead of continue to avoid shellcheck error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8727caedd18a93826a825efbfec33aea3b8f3109;p=binutils-gdb.git gdb/gdb_mbuild.sh: use return instead of continue to avoid shellcheck error Fix: In gdb_mbuild.sh line 174: continue ^------^ SC2104 (error): In functions, use return instead of continue. Change-Id: I5ce95b01359c5cfbb1612f2f48b80bfeea66c96c --- diff --git a/gdb/gdb_mbuild.sh b/gdb/gdb_mbuild.sh index 0d4c28e87b1..6a502369070 100755 --- a/gdb/gdb_mbuild.sh +++ b/gdb/gdb_mbuild.sh @@ -171,7 +171,7 @@ fail () if test "${keepgoing}" != "" then #exit 1 - continue + return 1 else kill $$ exit 1