about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Core/_call2
-rw-r--r--Completion/User/_groups2
3 files changed, 2 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b52dd31f8..dec29eaa9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
 2000-05-11  Oliver Kiddle  <opk@zsh.org>
 
-	* 11327: Completion/Core/_call: pass on exit code from called command
+	* 11329: Completion/User/_groups: redirect ypcat to stderr
 
 2000-05-11  Sven Wischnowsky  <wischnow@zsh.org>
 
diff --git a/Completion/Core/_call b/Completion/Core/_call
index 602e513ff..b038a80bc 100644
--- a/Completion/Core/_call
+++ b/Completion/Core/_call
@@ -11,5 +11,3 @@ if zstyle -s ":completion:${curcontext}:${1}" command tmp; then
 else
   eval "$argv[2,-1]"
 fi
-
-return $?
diff --git a/Completion/User/_groups b/Completion/User/_groups
index 7ee9969cd..d1475b857 100644
--- a/Completion/User/_groups
+++ b/Completion/User/_groups
@@ -7,7 +7,7 @@ _tags groups || return 1
 if ! zstyle -a ":completion:${curcontext}:" groups groups; then
   (( $+_cache_groups )) ||
       if (( ${+commands[ypcat]} )) &&
-	  tmp=$(_call groups ypcat group.byname); then
+	  tmp=$(_call groups ypcat group.byname 2>/dev/null); then
         : ${(A)_cache_groups:=${${(f)tmp}%%:*}} # If you use YP
       else
         : ${(A)_cache_groups:=${${(s: :)$(</etc/group)}%%:*}}