Merge "fastboot: bail out if failed to generate fs image" into oc-mr1-dev

This commit is contained in:
TreeHugger Robot 2017-08-23 23:28:14 +00:00 committed by Android (Google) Code Review
commit feee3cce8a

View file

@ -1463,7 +1463,7 @@ static void fb_perform_format(Transport* transport,
if (fs_generator_generate(gen, output.path, size, initial_dir,
eraseBlkSize, logicalBlkSize)) {
fprintf(stderr, "Cannot generate image: %s\n", strerror(errno));
die("Cannot generate image for %s\n", partition);
return;
}