]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
xz: Comment out annoying sandboxing messages.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 5 Feb 2020 18:33:50 +0000 (20:33 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 5 Feb 2020 18:33:50 +0000 (20:33 +0200)
src/xz/file_io.c

index 511aa60f4953c7c27d8dc530598f072a547af63b..c12c6f57462cc2eb59ced072a81036797f804ba9 100644 (file)
@@ -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: