Merge "fastboot: bail out if failed to generate fs image" into oc-mr1-dev
This commit is contained in:
commit
feee3cce8a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue