about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-05-11 15:32:35 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-05-11 15:32:35 +0000
commitcd65b9b4bbdd1dabfeb8948fd7397bbadfed4622 (patch)
tree7ded065c811852d0061ab77e5b450c7be1ff7c74
parent567e221218ed1e882a42235b100b1e023b52e1b7 (diff)
downloadzsh-cd65b9b4bbdd1dabfeb8948fd7397bbadfed4622.tar.gz
zsh-cd65b9b4bbdd1dabfeb8948fd7397bbadfed4622.tar.xz
zsh-cd65b9b4bbdd1dabfeb8948fd7397bbadfed4622.zip
_call should pass on the return code from the called command (11327)
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Core/_call2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 268df40d4..b52dd31f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-11  Oliver Kiddle  <opk@zsh.org>
+
+	* 11327: Completion/Core/_call: pass on exit code from called command
+
 2000-05-11  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 11324: Completion/Base/_argument_sets, Completion/Base/_arguments,
diff --git a/Completion/Core/_call b/Completion/Core/_call
index b038a80bc..602e513ff 100644
--- a/Completion/Core/_call
+++ b/Completion/Core/_call
@@ -11,3 +11,5 @@ if zstyle -s ":completion:${curcontext}:${1}" command tmp; then
 else
   eval "$argv[2,-1]"
 fi
+
+return $?