New option -mount_opts

This commit is contained in:
2009-10-10 14:22:50 +00:00
parent 76cec81b92
commit a76732a7e9
7 changed files with 77 additions and 9 deletions

View File

@ -10628,7 +10628,7 @@ int Xorriso_mount(struct XorrisO *xorriso, char *dev, int adr_mode,
isoburn_drive_release(drive, 0);
burn_drive_info_free(dinfo);
drive= NULL;
} else if(give_up > 0 && !(flag & 1)) {
} else if(give_up > 0 && !((flag & 1) || (xorriso->mount_opts_flag & 1))) {
Xorriso_give_up_drive(xorriso, give_up);
if(ret <= 0)
goto ex;