From e1beaa74bc7cb5a409d59b55870e01ae7784ce3a Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 5 Feb 2020 20:33:50 +0200 Subject: xz: Comment out annoying sandboxing messages. --- src/xz/file_io.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/xz/file_io.c b/src/xz/file_io.c index 464a8b15..0ba8db8f 100644 --- a/src/xz/file_io.c +++ b/src/xz/file_io.c @@ -170,8 +170,11 @@ static void io_sandbox_enter(int src_fd) { if (!sandbox_allowed) { - message(V_DEBUG, _("Sandbox is disabled due " - "to incompatible command line arguments")); + // This message is more often annoying than useful so + // 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; } @@ -213,7 +216,8 @@ io_sandbox_enter(int src_fd) # error ENABLE_SANDBOX is defined but no sandboxing method was found. #endif - message(V_DEBUG, _("Sandbox was successfully enabled")); + // This message is annoying in xz -lvv. + //message(V_DEBUG, _("Sandbox was successfully enabled")); return; error: -- cgit v1.2.3