Bug 265 - hush does not handle multiple || && correctly
Summary: hush does not handle multiple || && correctly
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 13:04 UTC by Mike Frysinger
Modified: 2009-04-06 14:11 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Frysinger 2009-04-06 13:04:31 UTC
looks like the && || operators do not apply the test to the last-most executed statement

for example:
$ hush -c 'false && echo yes || echo no'
$ bash -c 'false && echo yes || echo no'
no
Comment 1 Denys Vlasenko 2009-04-06 14:11:34 UTC
Fixed in rev. 25991