From 8727caedd18a93826a825efbfec33aea3b8f3109 Mon Sep 17 00:00:00 2001 From: yaowenbin Date: Thu, 28 Jul 2022 17:22:47 +0800 Subject: [PATCH] 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 --- gdb/gdb_mbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2