Fixed handling of empty current bin_path and already attached boot images
This commit is contained in:
parent
853d71b947
commit
c4cf1ced64
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2010.04.27.072331"
|
#define Xorriso_timestamP "2010.04.27.074834"
|
||||||
|
@ -2364,7 +2364,8 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
|
|||||||
ret= Xorriso_attach_boot_image(xorriso, xorriso->boot_count == 0);
|
ret= Xorriso_attach_boot_image(xorriso, xorriso->boot_count == 0);
|
||||||
if(ret <= 0)
|
if(ret <= 0)
|
||||||
goto ex;
|
goto ex;
|
||||||
|
}
|
||||||
|
if(xorriso->boot_count > 0) {
|
||||||
/* Eventually rename boot catalog node to changed boot_image_cat_path */
|
/* Eventually rename boot catalog node to changed boot_image_cat_path */
|
||||||
if(is_bootable > 0) {
|
if(is_bootable > 0) {
|
||||||
ret= Xorriso_path_from_node(xorriso, (IsoNode *) bootcat_node, sfe, 0);
|
ret= Xorriso_path_from_node(xorriso, (IsoNode *) bootcat_node, sfe, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user