aboutsummaryrefslogtreecommitdiff
path: root/env/fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/fat.c')
-rw-r--r--env/fat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/env/fat.c b/env/fat.c
index 158a9a3..35f7ab5 100644
--- a/env/fat.c
+++ b/env/fat.c
@@ -117,8 +117,7 @@ static int env_fat_load(void)
goto err_env_relocate;
}
- env_import(buf, 1);
- return 0;
+ return env_import(buf, 1);
err_env_relocate:
set_default_env(NULL);