[sr-dev] testing function result in if-statement
Juha Heinanen
jh at tutpro.com
Mon Apr 10 14:39:25 CEST 2017
Daniel-Constantin Mierla writes:
> I think I looked at it several years ago and the situation is a bit
> complex given the way the config script interpreter is doing the
> evaluation -- there are the rules that return 0 means exit, negative
> values are evaluated to false and positive to true. Because of these, at
> different layers, the actual return values are lost and only the
> equivalent of true/false in C are propagated.
OK, thanks for the explanation.
-- Juha
More information about the sr-dev
mailing list