about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-10-03 13:43:20 +0100
committerPeter Stephenson <pws@zsh.org>2016-10-03 13:43:20 +0100
commit4ab3fcc90d928d200f9e70c81189079c3316b42d (patch)
tree0e0ee027291957ac1f14126c7a4674cfcd19f435 /Src/init.c
parent36a11804b467d7553f8fdaed9320869d8d984f77 (diff)
downloadzsh-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/init.c')
-rw-r--r--Src/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c
index 3dea179b9..c12043b88 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -1442,8 +1442,10 @@ sourcehome(char *s)
     queue_signals();
     if (EMULATION(EMULATE_SH|EMULATE_KSH) || !(h = getsparam_u("ZDOTDIR"))) {
 	h = home;
-	if (!h)
+	if (!h) {
+	    unqueue_signals();
 	    return;
+	}
     }
 
     {