New bit1 with API call Xorriso_change_is_pending() issues a note if return is 0 and indev and outdev point to different drives
This commit is contained in:
@ -1488,6 +1488,8 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
|
||||
Xorriso_set_image_severities(xorriso, 2);
|
||||
if(flag&1) /* reset queue severity */
|
||||
Xorriso_set_image_severities(xorriso, 0);
|
||||
if(flag & 1)
|
||||
xorriso->print_size_counter++;
|
||||
goto cancel_iso;
|
||||
}
|
||||
|
||||
@ -1571,6 +1573,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
|
||||
sprintf(xorriso->info_text, "Writing to %s completed successfully.\n\n",
|
||||
Text_shellsafe(xorriso->outdev,sfe,0));
|
||||
Xorriso_info(xorriso, 0);
|
||||
xorriso->write_session_counter++;
|
||||
ret= 1;
|
||||
ex:;
|
||||
xorriso->run_state= 0; /* Indicate that burning has ended */
|
||||
|
Reference in New Issue
Block a user