fastboot: Fixed optional entries
Previously, if an image was listed as optional, but was not found, flashall would fail. Now it will proceed if optional images are not present. Change-Id: Ic82595cf0cd6ddce4c676de590f03f1a95f32040 Signed-off-by: Daniel Rosenberg <drosen@google.com>
This commit is contained in:
parent
e6f3e9bd26
commit
82280594ef
1 changed files with 1 additions and 1 deletions
|
|
@ -657,7 +657,7 @@ static int load_buf(usb_handle *usb, const char *fname,
|
|||
|
||||
fd = open(fname, O_RDONLY | O_BINARY);
|
||||
if (fd < 0) {
|
||||
die("cannot open '%s'\n", fname);
|
||||
return -1;
|
||||
}
|
||||
|
||||
return load_buf_fd(usb, fd, buf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue