diff options
Diffstat (limited to 'env/env.c')
-rw-r--r-- | env/env.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -335,6 +335,9 @@ int env_init(void) debug("%s: Environment %s init done (ret=%d)\n", __func__, drv->name, ret); + + if (gd->env_valid == ENV_INVALID) + ret = -ENOENT; } if (!prio) |