Resolves Red Hat bug: Bug 368451 - setfacl returns 0 even though it fails From: Jiri Moskovcak Signed-off-by: Eric Sandeen --- Index: xfs-cmds/acl/setfacl/setfacl.c =================================================================== --- xfs-cmds.orig/acl/setfacl/setfacl.c +++ xfs-cmds/acl/setfacl/setfacl.c @@ -137,7 +137,7 @@ restore( if (error < 0) goto fail; if (error == 0) - return 0; + return status; if (path_p == NULL) { if (filename) { @@ -151,6 +151,7 @@ restore( "aborting\n"), progname, backup_line); } + status = 1; goto getout; } @@ -169,6 +170,7 @@ restore( fprintf(stderr, _("%s: %s: %s in line %d\n"), progname, xquote(filename), strerror(errno), line); + status = 1; goto getout; } -- _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs