zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: exit status 0 after SIGINT
Date: Wed, 27 Sep 2017 09:35:33 +0100	[thread overview]
Message-ID: <20170927093533.3c981bbf@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <170926104947.ZM15344@torch.brasslantern.com>

On Tue, 26 Sep 2017 10:49:47 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> diff --git a/Src/exec.c b/Src/exec.c
> index bd242d1..0d2dc4e 100644
> --- a/Src/exec.c
> +++ b/Src/exec.c
> @@ -3199,7 +3199,8 @@ execcmd_exec(Estate state, Execcmd_params eparams,
>      }
>  
>      if (errflag) {
> -	lastval = 1;
> +	if (!lastval)
> +	    lastval = 1;
>  	if (oautocont >= 0)
>  	    opts[AUTOCONTINUE] = oautocont;
>  	return;

I'll forget mine since this appeared first.

pws


  reply	other threads:[~2017-09-27  8:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170925125104epcas5p3948e0702e32903ad3a09070937edbb54@epcas5p3.samsung.com>
2017-09-25 12:50 ` Martijn Dekker
2017-09-25 13:57   ` Peter Stephenson
2017-09-26 10:57     ` Martijn Dekker
2017-09-26 17:49       ` Bart Schaefer
2017-09-27  8:35         ` Peter Stephenson [this message]
2017-09-27 19:59           ` Bart Schaefer
2017-09-26 18:15       ` Peter Stephenson

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=20170927093533.3c981bbf@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).