]> git.ipfire.org Git - ipfire-3.x.git/blob - pkgs/acl/patches/acl-2.2.47-exitcode.patch
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / acl / patches / acl-2.2.47-exitcode.patch
1 --- acl-2.2.45/setfacl/setfacl.c.old 2007-11-08 14:04:42.000000000 +0100
2 +++ acl-2.2.45/setfacl/setfacl.c 2007-11-08 14:05:43.000000000 +0100
3 @@ -144,7 +144,7 @@ restore(
4 if (error < 0)
5 goto fail;
6 if (error == 0)
7 - return 0;
8 + return status;
9
10 if (path_p == NULL) {
11 if (filename) {
12 @@ -158,6 +158,7 @@ restore(
13 "aborting\n"),
14 progname, backup_line);
15 }
16 + status = 1;
17 goto getout;
18 }
19
20 @@ -176,6 +177,7 @@ restore(
21 fprintf(stderr, _("%s: %s: %s in line %d\n"),
22 progname, xquote(filename), strerror(errno),
23 line);
24 + status = 1;
25 goto getout;
26 }
27