Skip to content
Commit e8459c12 authored by Marek Behún's avatar Marek Behún Committed by Simon Glass
Browse files

env: Fix env_get() when returning empty string using env_get_f()



The env_get_f() function returns -1 on failure. Returning 0 means that
the variable exists, and is empty string.

Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent c9db4c54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment