From: yaowenbin via Gdb-patches <gdb-patches@sourceware.org>
To: <gdb-patches@sourceware.org>
Cc: "hewenliang \(C\)" <hewenliang4@huawei.com>, linfeilong@huawei.com
Subject: [PATCH] use return instead of continue to avoid shellcheck error
Date: Thu, 28 Jul 2022 17:22:47 +0800 [thread overview]
Message-ID: <375f9654-9c01-6bd3-7134-6865f49b69eb@huawei.com> (raw)
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
next reply other threads:[~2022-07-28 9:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-28 9:22 yaowenbin via Gdb-patches [this message]
2022-07-28 14:30 ` Simon Marchi via Gdb-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=375f9654-9c01-6bd3-7134-6865f49b69eb@huawei.com \
--to=gdb-patches@sourceware.org \
--cc=hewenliang4@huawei.com \
--cc=linfeilong@huawei.com \
--cc=yaowenbin1@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox