Bug fix: Command -status produced FAILURE event if no drive was acquired
This commit is contained in:
parent
2dac518bb8
commit
717798e13a
@ -418,7 +418,7 @@ int Xorriso_boot_item_status(struct XorrisO *xorriso, char *cat_path,
|
|||||||
no_defaults= flag & 1;
|
no_defaults= flag & 1;
|
||||||
line= xorriso->result_line;
|
line= xorriso->result_line;
|
||||||
|
|
||||||
if(flag & 16) {
|
if((flag & 16) && bin_path[0] != 0) {
|
||||||
/* Allow to concentrate boot options. */
|
/* Allow to concentrate boot options. */
|
||||||
memset(zeros, 0, 28);
|
memset(zeros, 0, 28);
|
||||||
if(memcmp(id_string, zeros, 28) == 0 &&
|
if(memcmp(id_string, zeros, 28) == 0 &&
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2014.03.06.075858"
|
#define Xorriso_timestamP "2014.03.06.164332"
|
||||||
|
Loading…
Reference in New Issue
Block a user