Bug fix: Options -extract and -extract_single were enabled with -osirrox off
This commit is contained in:
parent
fc58080467
commit
1bc60d0c0c
@ -11935,6 +11935,12 @@ int Xorriso_option_extract(struct XorrisO *xorriso, char *iso_path,
|
|||||||
int ret;
|
int ret;
|
||||||
char eff_origin[SfileadrL], eff_dest[SfileadrL], *ipth;
|
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))
|
if(!(flag&2))
|
||||||
Xorriso_pacifier_reset(xorriso, 0);
|
Xorriso_pacifier_reset(xorriso, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user