Downgraded extraction error from FAILURE to SORRY (for new -abort_on default)

This commit is contained in:
Thomas Schmitt 2011-04-27 15:08:09 +00:00
parent b2762cf5d8
commit 2fe76f0f0e
2 changed files with 4 additions and 2 deletions

View File

@ -641,6 +641,8 @@ probably_damaged:;
goto ignored;
} else {
if(ISO_NODE_IS_BOOTCAT(node))
what= "boot catalog";
sprintf(xorriso->info_text, "Cannot restore file type '%s'", what);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
ret= 0; goto ex;
@ -954,7 +956,7 @@ int Xorriso_restore_disk_object(struct XorrisO *xorriso,
restoring_failed:;
sprintf(xorriso->info_text, "Restoring failed: %s = %s",
Text_shellsafe(img_path,sfe,0), Text_shellsafe(disk_path,sfe2,0));
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
{ret= 0; goto ex;}
}
if(ret==2)

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.04.27.143713"
#define Xorriso_timestamP "2011.04.27.150829"