summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/builtin.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a8f2c0b1d..bcea79190 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-05  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 39838: Src/builtin.c: another missing unqueue_signals()
+
 2016-11-04  Oliver Kiddle  <opk@zsh.org>
 
 	* 39829: Src/Zle/compcore.c: when compstate[insert] is emptied
diff --git a/Src/builtin.c b/Src/builtin.c
index b7b7bdf18..6c9d05872 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4552,6 +4552,7 @@ bin_print(char *name, char **args, Options ops, int func)
 		    short *words;
 		    if (nwords > 1) {
 			zwarnnam(name, "option -S takes a single argument");
+			unqueue_signals();
 			return 1;
 		    }
 		    words = NULL;