Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369893 - let builtin has wrong return value handling
Summary: let builtin has wrong return value handling
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: libbash (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 12:34 UTC by Petteri Räty (RETIRED)
Modified: 2018-01-25 17:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2011-06-03 12:34:10 UTC
let arg [arg ...]
              Each arg is an arithmetic expression to be evaluated (see ARITHMETIC EVALUATION).  If the last arg evaluates to 0, let returns 1; 0 is returned otherwise.

We currently always return 0.
Comment 1 Pacho Ramos gentoo-dev 2018-01-25 17:58:33 UTC
Developer retired (and his mail address is not active anymore)