aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xz/file_io.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index bc4f933d..37710428 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -233,13 +233,11 @@ io_sandbox_enter(int src_fd)
#ifdef HAVE_CAPSICUM
capsicum_error:
- // Even though it is undocumented, if a kernel is configured without
- // capability mode support or used in an emulator that does not
- // implement the capability system calls, then the capsicum system
- // calls will fail and set errno to ENOSYS.
+ // If a kernel is configured without capability mode support or
+ // used in an emulator that does not implement the capability
+ // system calls, then the capsicum system calls will fail and set
+ // errno to ENOSYS.
if (errno == ENOSYS) {
- message_warning(_("%s: Cannot enable the sandbox"),
- strerror(errno));
sandbox_allowed = false;
return;
}