commit | e087a4613eb8a7b202e3884af366b6e892ad7344 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Thu Nov 04 00:23:22 2021 +0100 |
committer | Simon Glass <sjg@chromium.org> | Sat Nov 13 08:16:39 2021 -0700 |
tree | 8c9dd382bdcc4d64b507b97f354f5e99f493601a | |
parent | 08c6b04c301e5380ffdccd1d043fe558996aed3d [diff] |
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: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>