Bug fix: Command -status produced FAILURE event if no drive was acquired

This commit is contained in:
Thomas Schmitt 2014-03-06 16:45:11 +00:00
parent 2dac518bb8
commit 717798e13a
2 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ int Xorriso_boot_item_status(struct XorrisO *xorriso, char *cat_path,
no_defaults= flag & 1;
line= xorriso->result_line;
if(flag & 16) {
if((flag & 16) && bin_path[0] != 0) {
/* Allow to concentrate boot options. */
memset(zeros, 0, 28);
if(memcmp(id_string, zeros, 28) == 0 &&

View File

@ -1 +1 @@
#define Xorriso_timestamP "2014.03.06.075858"
#define Xorriso_timestamP "2014.03.06.164332"