aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authoryaowenbin <yaowenbin1@huawei.com>2022-07-28 17:22:47 +0800
committerSimon Marchi <simon.marchi@efficios.com>2022-07-28 10:31:10 -0400
commit8727caedd18a93826a825efbfec33aea3b8f3109 (patch)
tree40c8815381162ca19ecc5b5810640ec540844b38 /gdb
parent2eb132bdfb915c9721294871ce857c4dad522ce1 (diff)
downloadfsf-binutils-gdb-8727caedd18a93826a825efbfec33aea3b8f3109.zip
fsf-binutils-gdb-8727caedd18a93826a825efbfec33aea3b8f3109.tar.gz
fsf-binutils-gdb-8727caedd18a93826a825efbfec33aea3b8f3109.tar.bz2
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
Diffstat (limited to 'gdb')
-rwxr-xr-xgdb/gdb_mbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdb_mbuild.sh b/gdb/gdb_mbuild.sh
index 0d4c28e..6a50236 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