]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - acl/patches/acl-2.2.47-exitcode.patch
Move all packages to root.
[people/ms/ipfire-3.x.git] / acl / patches / acl-2.2.47-exitcode.patch
diff --git a/acl/patches/acl-2.2.47-exitcode.patch b/acl/patches/acl-2.2.47-exitcode.patch
new file mode 100644 (file)
index 0000000..0ba27b0
--- /dev/null
@@ -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;
+               }