Bug fix: Options -extract and -extract_single were enabled with -osirrox off
This commit is contained in:
parent
8cf5f98795
commit
6aea5f981f
@ -11935,6 +11935,12 @@ int Xorriso_option_extract(struct XorrisO *xorriso, char *iso_path,
|
||||
int ret;
|
||||
char eff_origin[SfileadrL], eff_dest[SfileadrL], *ipth;
|
||||
|
||||
if(!xorriso->allow_restore) {
|
||||
sprintf(xorriso->info_text,
|
||||
"-extract: image-to-disk copies are not enabled by option -osirrox");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||
return(0);
|
||||
}
|
||||
if(!(flag&2))
|
||||
Xorriso_pacifier_reset(xorriso, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user