Avoided misleading message about emptied ISO image during -as mkisofs -C

This commit is contained in:
2008-07-08 13:20:17 +00:00
parent 4d3ef02838
commit d17ddda7db
3 changed files with 4 additions and 4 deletions

View File

@ -961,7 +961,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
if(ret>0) {
/* Allow the consumer of output to access the input drive */
source_drive= NULL;
ret= Xorriso_give_up_drive(xorriso, 1);
ret= Xorriso_give_up_drive(xorriso, 1|8);
if(ret<=0)
goto ex;
}