Centralized the inquiry whether an image change is pending
This commit is contained in:
@ -2528,7 +2528,7 @@ int Xorriso_close_damaged(struct XorrisO *xorriso, int flag)
|
||||
struct burn_drive *drive;
|
||||
struct burn_write_opts *burn_options= NULL;
|
||||
|
||||
if(xorriso->volset_change_pending) {
|
||||
if(Xorriso_change_is_pending(xorriso, 0)) {
|
||||
sprintf(xorriso->info_text,
|
||||
"Image changes pending. -commit or -rollback first");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||
|
Reference in New Issue
Block a user