Reporting specific libisofs error if setting of ACL fails

This commit is contained in:
Thomas Schmitt 2011-08-24 07:29:07 +00:00
parent cd6bd02dc8
commit 47a178e816
2 changed files with 4 additions and 1 deletions

View File

@ -2020,6 +2020,9 @@ int Xorriso_setfacl(struct XorrisO *xorriso, void *in_node, char *path,
}
ret= iso_node_set_acl_text(node, access_text, default_text, 0);
if(ret <= 0) {
Xorriso_report_iso_error(xorriso, "", ret,
"Error when setting ACL to image node",
0, "FAILURE", 1);
if(path != NULL && path[0] != 0) {
strcpy(xorriso->info_text, "Error with setting ACL of ");
Text_shellsafe(path, xorriso->info_text, 1);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.08.23.104121"
#define Xorriso_timestamP "2011.08.24.072854"