No -rollback in -as mkisofs -print-size. New flag in Xorriso_change_is_pending.
This commit is contained in:
@ -341,7 +341,7 @@ int Xorriso_option_end(struct XorrisO *xorriso, int flag)
|
||||
else
|
||||
cmd= "-end";
|
||||
if(xorriso->volset_change_pending) {
|
||||
if(flag&1)
|
||||
if((flag & 1) || xorriso->volset_change_pending != 1)
|
||||
which_will= "end the program discarding image changes";
|
||||
else
|
||||
which_will= "commit image changes and then end the program";
|
||||
@ -355,7 +355,7 @@ int Xorriso_option_end(struct XorrisO *xorriso, int flag)
|
||||
}
|
||||
|
||||
if(xorriso->volset_change_pending) {
|
||||
if(flag&1) {
|
||||
if((flag & 1) || xorriso->volset_change_pending != 1) {
|
||||
xorriso->volset_change_pending= 0;
|
||||
} else {
|
||||
ret= Xorriso_option_commit(xorriso, 1);
|
||||
|
Reference in New Issue
Block a user