summaryrefslogtreecommitdiff
path: root/env/ext4.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/ext4.c')
-rw-r--r--env/ext4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/env/ext4.c b/env/ext4.c
index 9cdf28e79f..3f3aac5737 100644
--- a/env/ext4.c
+++ b/env/ext4.c
@@ -114,8 +114,7 @@ static int env_ext4_load(void)
goto err_env_relocate;
}
- env_import(buf, 1);
- return 0;
+ return env_import(buf, 1);
err_env_relocate:
set_default_env(NULL);