Reporting specific libisofs error if setting of ACL fails
This commit is contained in:
parent
cd6bd02dc8
commit
47a178e816
@ -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);
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.08.23.104121"
|
||||
#define Xorriso_timestamP "2011.08.24.072854"
|
||||
|
Loading…
Reference in New Issue
Block a user