Corrected default expectation of -status in respect to -osirrox and -error_behavior

This commit is contained in:
Thomas Schmitt 2021-06-04 17:52:30 +02:00
parent 60dfe77a32
commit 49d40a4560
2 changed files with 3 additions and 3 deletions

View File

@ -2915,7 +2915,7 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso,filter,fp,flag&2);
is_default= (xorriso->img_read_error_mode==2);
is_default= (xorriso->img_read_error_mode == 1);
treatment= "best_effort";
if(xorriso->img_read_error_mode==1)
treatment= "failure";
@ -2999,7 +2999,7 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
Xorriso_status_result(xorriso,filter,fp,flag&2);
is_default = ((xorriso->do_strict_acl & 1) == 0 &&
(xorriso->do_md5 & (64 | 128)) == 0 &&
(xorriso->do_md5 & (64 | 128)) == 64 &&
xorriso->sparse_min_gap == 0);
sprintf(line,"-osirrox %s:%s:sparse=",
(xorriso->do_strict_acl & 1) ? "strict_acl_on" : "strict_acl_off",

View File

@ -1 +1 @@
#define Xorriso_timestamP "2021.05.25.195904"
#define Xorriso_timestamP "2021.06.04.155151"