Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: return command's exit code from _call
- X-seq: zsh-workers 11327
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PATCH: return command's exit code from _call
- Date: Thu, 11 May 2000 16:30:14 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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