Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: return command's exit code from _call



completion for groups had broken again, with ypcat dumping error
messages over my terminal. The problem was that _call was now being used
to call ypcat but didn't pass on its exit code.

Oliver

Index: Completion/Core/_call
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_call,v
retrieving revision 1.2
diff -u -r1.2 _call
--- Completion/Core/_call       2000/04/01 20:43:43     1.2
+++ Completion/Core/_call       2000/05/11 15:29:31
@@ -11,3 +11,5 @@
 else
   eval "$argv[2,-1]"
 fi
+
+return $?



Messages sorted by: Reverse Date, Date, Thread, Author