diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-05 20:33:50 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-05 20:33:50 +0200 |
commit | af0fb386ef55db66654ae39e2deec6e04190c4ff (patch) | |
tree | d5ff5e0f4b9a852a61230dfc079c23b12cf4249d /src | |
parent | Build: Workaround a POSIX shell detection problem on Solaris. (diff) | |
download | xz-af0fb386ef55db66654ae39e2deec6e04190c4ff.tar.xz |
xz: Comment out annoying sandboxing messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/xz/file_io.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c index 511aa60f..c12c6f57 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: |