Skip to content
Snippets Groups Projects
Commit c5951991 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 21f63944
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment