Bug fix: -for_backup did not enable -xattr and -md5 if no drive was chosen yet

This commit is contained in:
Thomas Schmitt 2009-08-31 16:26:42 +00:00
parent e90f04e321
commit 1d730bb025
2 changed files with 6 additions and 8 deletions

View File

@ -19232,13 +19232,11 @@ next_command:;
ret= Xorriso_option_follow(xorriso, arg1, 0); ret= Xorriso_option_follow(xorriso, arg1, 0);
} else if(strcmp(cmd,"for_backup")==0) { } else if(strcmp(cmd,"for_backup")==0) {
ret= Xorriso_option_hardlinks(xorriso, "on", 0); Xorriso_option_hardlinks(xorriso, "on", 0);
if(ret > 0) Xorriso_option_acl(xorriso, "on", 0);
ret= Xorriso_option_acl(xorriso, "on", 0); Xorriso_option_xattr(xorriso, "on", 0);
if(ret > 0) Xorriso_option_md5(xorriso, "on", 0);
ret= Xorriso_option_xattr(xorriso, "on", 0); ret= 1;
if(ret > 0)
ret= Xorriso_option_md5(xorriso, "on", 0);
} else if(strcmp(cmd,"format")==0) { } else if(strcmp(cmd,"format")==0) {
(*idx)++; (*idx)++;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2009.08.29.180146" #define Xorriso_timestamP "2009.08.31.162746"