--- acl-2.2.47/setfacl/setfacl.c 2008-02-07 04:39:57.000000000 +0100 +++ acl-2.2.47/setfacl/setfacl.c-gil 2008-11-30 04:31:39.000000000 +0100 @@ -137,7 +137,7 @@ if (error < 0) goto fail; if (error == 0) - return 0; + return status; if (path_p == NULL) { if (filename) { @@ -151,6 +151,7 @@ "aborting\n"), progname, backup_line); } + status = 1; goto getout; } @@ -169,6 +170,7 @@ fprintf(stderr, _("%s: %s: %s in line %d\n"), progname, xquote(filename), strerror(errno), line); + status = 1; goto getout; }