[PATCH] use return instead of continue to avoid shellcheck error
yaowenbin
yaowenbin1@huawei.com
Thu Jul 28 09:22:47 GMT 2022
Signed-off-by: yaowenbin<yaowenbin1@huawei.com>
---
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 47403a7..51d2853 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.23.0
More information about the Gdb-patches
mailing list