[Bug 1825] New: hush back-quote expansion does not set $? properly

bugzilla at busybox.net bugzilla at busybox.net
Mon May 24 12:04:26 UTC 2010


           Summary: hush back-quote expansion does not set $? properly
           Product: Busybox
           Version: 1.16.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: abbotti at mev.co.uk
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0

In hush:

$ cmdout=`false`
$ echo $?

The $? variable should have been set to 1 (the exit code of the back-quoted
command), not 0.

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