diff options
author | Peter Stephenson <pws@zsh.org> | 2016-10-03 13:43:20 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-10-03 13:43:20 +0100 |
commit | 4ab3fcc90d928d200f9e70c81189079c3316b42d (patch) | |
tree | 0e0ee027291957ac1f14126c7a4674cfcd19f435 /Src/prompt.c | |
parent | 36a11804b467d7553f8fdaed9320869d8d984f77 (diff) | |
download | zsh-4ab3fcc90d928d200f9e70c81189079c3316b42d.tar.gz zsh-4ab3fcc90d928d200f9e70c81189079c3316b42d.tar.xz zsh-4ab3fcc90d928d200f9e70c81189079c3316b42d.zip |
39545: Add some missing unqueue_signals().
All of these are added simply to fit existing logic in other branches.
Diffstat (limited to 'Src/prompt.c')
-rw-r--r-- | Src/prompt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/prompt.c b/Src/prompt.c index d4f389809..ee77c8bc8 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -491,8 +491,10 @@ putpromptchar(int doprint, int endchar, unsigned int *txtchangep) if (!arg) arg++; queue_signals(); - if (!(hostnam = getsparam("HOST"))) + if (!(hostnam = getsparam("HOST"))) { + unqueue_signals(); break; + } if (arg < 0) { for (ss = hostnam + strlen(hostnam); ss > hostnam; ss--) if (ss[-1] == '.' && !++arg) |