Downgraded severity of media overflow with -print_size

This commit is contained in:
Thomas Schmitt 2013-08-19 15:27:46 +00:00
parent 2b9293a54b
commit 5321beb8b8
2 changed files with 7 additions and 3 deletions

View File

@ -249,8 +249,12 @@ no_track:;
Xorriso_process_msg_queues(xorriso,0); Xorriso_process_msg_queues(xorriso,0);
sprintf(xorriso->info_text,"Image size %ds exceeds free space on media %ds", sprintf(xorriso->info_text,"Image size %ds exceeds free space on media %ds",
img_sectors + padding, media_space); img_sectors + padding, media_space);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); if(flag & 1) {
{ret= 0; goto ex;} Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0);
} else {
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
{ret= 0; goto ex;}
}
} }
if(flag&1) { if(flag&1) {
ret= multi_emul_blocks + img_sectors + padding; ret= multi_emul_blocks + img_sectors + padding;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2013.08.16.153743" #define Xorriso_timestamP "2013.08.19.152714"