[Bug 407] assign local vars and catch returncode

bugzilla at busybox.net bugzilla at busybox.net
Sat Jun 20 15:47:03 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=407


Mike Frysinger <vapier at gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #6 from Mike Frysinger <vapier at gentoo.org>  2009-06-20 15:47:02 UTC ---
then you need to bring it up on the bash lists.  if bash changes behavior,
we'll change hush to match.

you can change your code easily by splitting the local and assignment in the
mean time:
local foo
foo=$(false) || echo


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list