zsh-users
 help / color / mirror / code / Atom feed
* local/non-local and sub shell exit codes
@ 2018-06-10 13:18 René Neumann
  2018-06-10 13:34 ` René Neumann
  0 siblings, 1 reply; 3+ messages in thread
From: René Neumann @ 2018-06-10 13:18 UTC (permalink / raw)
  To: Zsh Users

Hi all,

I just encountered this strange behavior under zsh-5.5.1:

% foo=$(false); echo $?
1
% local foo=$(false); echo $?
0

Is this intended? As I'm pretty sure that this behavior is new...

Best regards,
René


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-10 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-10 13:18 local/non-local and sub shell exit codes René Neumann
2018-06-10 13:34 ` René Neumann
2018-06-10 13:46   ` dana

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).