Reporting specific libisofs error if setting of ACL fails

master
Thomas Schmitt 11 years ago
parent cd6bd02dc8
commit 47a178e816
  1. 3
      xorriso/iso_manip.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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…
Cancel
Save