commit | 9977849fb322bc0a823ad836e6e4422b54f446a9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Aug 03 12:22:17 2017 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Aug 16 08:31:24 2017 -0400 |
tree | 39b5ee4ee37e5a595e088456e792d7251f7ee1ca | |
parent | 3fa4c2213ec7117d4880a8b811ab06db9cd364bb [diff] |
env: Adjust the load() method to return an error The load() methods have inconsistent behaviour on error. Some of them load an empty default environment. Some load an environment containing an error message. Others do nothing. As a step in the right direction, have the method return an error code. Then the caller could handle this itself in a consistent way. Signed-off-by: Simon Glass <sjg@chromium.org>