diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index aee7994b..db24b4c5 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2010.01.17.145019" +#define Xorriso_timestamP "2010.01.17.145139" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index 48781807..4213c1ba 100644 --- a/xorriso/xorrisoburn.c +++ b/xorriso/xorrisoburn.c @@ -5778,8 +5778,14 @@ int Xorriso_blank_media(struct XorrisO *xorriso, int flag) usleep(1000000); } Xorriso_process_msg_queues(xorriso,0); - sprintf(xorriso->info_text, "Blanking done\n"); - Xorriso_info(xorriso,0); + + if(burn_drive_wrote_well(drive)) { + sprintf(xorriso->info_text, "Blanking done\n"); + Xorriso_info(xorriso,0); + } else { + sprintf(xorriso->info_text, "Blanking failed."); + Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); + } if(!(flag & 4)) { ret= Xorriso_reaquire_outdev(xorriso, 2 + (xorriso->in_drive_handle == xorriso->out_drive_handle));