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

xz: Make it a fatal error if enabling the sandbox fails.

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.
This commit is contained in:
Lasse Collin 2020-02-05 20:40:14 +02:00
parent af0fb386ef
commit 15a133b6d1

View file

@ -221,7 +221,7 @@ io_sandbox_enter(int src_fd)
return; return;
error: error:
message(V_DEBUG, _("Failed to enable the sandbox")); message_fatal(_("Failed to enable the sandbox"));
} }
#endif // ENABLE_SANDBOX #endif // ENABLE_SANDBOX