Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 369893

Summary: let builtin has wrong return value handling
Product: Gentoo Hosted Projects Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: libbashAssignee: Petteri Räty (RETIRED) <betelgeuse>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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)