From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: Re: [PATCH] [gdb/contrib] Simplify rc usage in cc-with-tweaks.sh
Date: Wed, 9 Sep 2026 15:04:41 +0200 [thread overview]
Message-ID: <1bf91530-f0be-4729-9194-14ce88a75446@suse.de> (raw)
In-Reply-To: <20260902191559.3951565-1-tdevries@suse.de>
On 9/2/26 9:15 PM, Tom de Vries wrote:
> Fix this using:
> ...
> -[ $rc != 0 ] && exit $rc
> +if [ $rc != 0 ]; then exit $rc; fi
> ...
I've pushed this, with one change in the code: add a final "exit 0".
I've also changed the rationale for removing rc=0 to "unused def".
Thanks,
- Tom
prev parent reply other threads:[~2026-09-09 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 19:15 Tom de Vries
2026-09-09 13:04 ` Tom de Vries [this message]
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=1bf91530-f0be-4729-9194-14ce88a75446@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/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