*** empty log message ***
This commit is contained in:
parent
80816bdbb5
commit
3143947dd7
27
acl-2.2.45-exitcode.patch
Normal file
27
acl-2.2.45-exitcode.patch
Normal file
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user