From 3143947dd757ff741564f4cfee9dffab569d04f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Moskov=C4=8D=C3=A1k?= Date: Thu, 8 Nov 2007 13:27:53 +0000 Subject: [PATCH] *** empty log message *** --- acl-2.2.45-exitcode.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 acl-2.2.45-exitcode.patch diff --git a/acl-2.2.45-exitcode.patch b/acl-2.2.45-exitcode.patch new file mode 100644 index 0000000..0ba27b0 --- /dev/null +++ b/acl-2.2.45-exitcode.patch @@ -0,0 +1,27 @@ +--- acl-2.2.45/setfacl/setfacl.c.old 2007-11-08 14:04:42.000000000 +0100 ++++ acl-2.2.45/setfacl/setfacl.c 2007-11-08 14:05:43.000000000 +0100 +@@ -144,7 +144,7 @@ restore( + if (error < 0) + goto fail; + if (error == 0) +- return 0; ++ return status; + + if (path_p == NULL) { + if (filename) { +@@ -158,6 +158,7 @@ restore( + "aborting\n"), + progname, backup_line); + } ++ status = 1; + goto getout; + } + +@@ -176,6 +177,7 @@ restore( + fprintf(stderr, _("%s: %s: %s in line %d\n"), + progname, xquote(filename), strerror(errno), + line); ++ status = 1; + goto getout; + } +