14 lines
820 B
Diff
14 lines
820 B
Diff
|
diff --git a/Source/WTF/wtf/glib/Sandbox.cpp b/Source/WTF/wtf/glib/Sandbox.cpp
|
||
|
index 9b07bb8cb5a9b..a8169511fe851 100644
|
||
|
--- a/Source/WTF/wtf/glib/Sandbox.cpp
|
||
|
+++ b/Source/WTF/wtf/glib/Sandbox.cpp
|
||
|
@@ -58,7 +58,7 @@ bool isInsideUnsupportedContainer()
|
||
|
int waitStatus = 0;
|
||
|
gboolean spawnSucceeded = g_spawn_sync(nullptr, const_cast<char**>(bwrapArgs), nullptr,
|
||
|
G_SPAWN_STDERR_TO_DEV_NULL, nullptr, nullptr, nullptr, nullptr, &waitStatus, nullptr);
|
||
|
- supportedContainer = spawnSucceeded && g_spawn_check_wait_status(waitStatus, nullptr);
|
||
|
+ supportedContainer = spawnSucceeded && g_spawn_check_exit_status(waitStatus, nullptr);
|
||
|
if (!supportedContainer)
|
||
|
WTFLogAlways("Bubblewrap does not work inside of this container, sandboxing will be disabled.");
|
||
|
}
|