]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
xz: Make it a fatal error if enabling the sandbox fails.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 5 Feb 2020 18:40:14 +0000 (20:40 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 5 Feb 2020 18:40:14 +0000 (20:40 +0200)
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.

src/xz/file_io.c

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