aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-02-05 20:40:14 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-02-05 20:40:14 +0200
commit15a133b6d1a3eab4faf6eb52a71fdc56bd65846f (patch)
tree36e7679902d58350a2fdbf7d9cdfc22cfabb0c3a
parentxz: Comment out annoying sandboxing messages. (diff)
downloadxz-15a133b6d1a3eab4faf6eb52a71fdc56bd65846f.tar.xz
xz: Make it a fatal error if enabling the sandbox fails.
Perhaps it's too drastic but on the other hand it will let me learn about possible problems if people report the errors. This won't be backported to the v5.2 branch.
-rw-r--r--src/xz/file_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index c12c6f57..e1a37d5f 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -221,7 +221,7 @@ io_sandbox_enter(int src_fd)
return;
error:
- message(V_DEBUG, _("Failed to enable the sandbox"));
+ message_fatal(_("Failed to enable the sandbox"));
}
#endif // ENABLE_SANDBOX