Merge "Revert "AOSP: mke2fs: print error and exit if MKE2FS_CONFIG is invalid"" am: 47cba40d11 am: c5e2982552
am: 05d6ba8acc
Change-Id: Ic0a0bdc7d270c376fcfdf54970766284b002c192
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index ce138fc..fcca0dc 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -1596,7 +1596,7 @@
config_fn[0] = tmp;
profile_set_syntax_err_cb(syntax_err_report);
retval = profile_init(config_fn, &profile);
- if (retval == ENOENT && config_fn[0] != tmp) {
+ if (retval == ENOENT) {
retval = profile_init(default_files, &profile);
if (retval)
goto profile_error;