1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

xz: Comment out annoying sandboxing messages.

This commit is contained in:
Lasse Collin 2020-02-05 20:33:50 +02:00
parent 986d8c9b52
commit af0fb386ef

View file

@ -170,8 +170,11 @@ static void
io_sandbox_enter(int src_fd) io_sandbox_enter(int src_fd)
{ {
if (!sandbox_allowed) { if (!sandbox_allowed) {
message(V_DEBUG, _("Sandbox is disabled due " // This message is more often annoying than useful so
"to incompatible command line arguments")); // it's commented out. It can be useful when developing
// the sandboxing code.
//message(V_DEBUG, _("Sandbox is disabled due "
// "to incompatible command line arguments"));
return; return;
} }
@ -213,7 +216,8 @@ io_sandbox_enter(int src_fd)
# error ENABLE_SANDBOX is defined but no sandboxing method was found. # error ENABLE_SANDBOX is defined but no sandboxing method was found.
#endif #endif
message(V_DEBUG, _("Sandbox was successfully enabled")); // This message is annoying in xz -lvv.
//message(V_DEBUG, _("Sandbox was successfully enabled"));
return; return;
error: error: