Merge "Acknowledge the 'nofail' fs_mgr flag and skip the expected failure."
diff --git a/main.cpp b/main.cpp
index 402ba0a..1f85fb5 100644
--- a/main.cpp
+++ b/main.cpp
@@ -242,7 +242,8 @@
}
/* Make sure logical partitions have an updated blk_device. */
- if (entry.fs_mgr_flags.logical && !fs_mgr_update_logical_partition(&entry)) {
+ if (entry.fs_mgr_flags.logical && !fs_mgr_update_logical_partition(&entry) &&
+ !entry.fs_mgr_flags.no_fail) {
PLOG(FATAL) << "could not find logical partition " << entry.blk_device;
}