https://bugs.winehq.org/show_bug.cgi?id=39808
Bug ID: 39808 Summary: either cmd || operator fails to evaluate exit codes or exit codes are incorrect Product: Wine Version: 1.7.55 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: fiendishx@gmail.com Distribution: ---
seen:
echo 0 || echo fail 0 fail
It should not be printing fail. It should only print 0.
https://bugs.winehq.org/show_bug.cgi?id=39808
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- Assuming correct way to test this is
wine cmd
and then paste/write the echo 0 || echo fail
?
prints 0 and fail
This bug is somehow related to bug 32679 but the patch there doesnt help here.
wine 1.9.24.
https://bugs.winehq.org/show_bug.cgi?id=39808
--- Comment #2 from fiendishx@gmail.com ---
Assuming correct way to test this is...
Yes that is correct.
This bug is somehow related to bug 32679 ...
Yeah, looks like.
Thanks.
https://bugs.winehq.org/show_bug.cgi?id=39808
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE CC| |z.figura12@gmail.com Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- (In reply to fiendishx from comment #2)
This bug is somehow related to bug 32679 ...
Yeah, looks like.
Marking this as a duplicate then.
*** This bug has been marked as a duplicate of bug 32679 ***
https://bugs.winehq.org/show_bug.cgi?id=39808
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.