mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:30:45 +00:00
fix(browser): drop redundant setuid sandbox flag
Co-authored-by: Sebastian Krueger <150018+sebykrueger@users.noreply.github.com>
This commit is contained in:
@@ -210,7 +210,7 @@ describe("chrome.ts internal", () => {
|
||||
userDataDir: "/tmp/foo",
|
||||
});
|
||||
expect(args).toContain("--no-sandbox");
|
||||
expect(args).toContain("--disable-setuid-sandbox");
|
||||
expect(args).not.toContain("--disable-setuid-sandbox");
|
||||
});
|
||||
|
||||
it("adds --disable-dev-shm-usage on linux", () => {
|
||||
|
||||
@@ -245,7 +245,6 @@ export function buildOpenClawChromeLaunchArgs(params: {
|
||||
}
|
||||
if (resolved.noSandbox) {
|
||||
args.push("--no-sandbox");
|
||||
args.push("--disable-setuid-sandbox");
|
||||
}
|
||||
if (process.platform === "linux") {
|
||||
args.push("--disable-dev-shm-usage");
|
||||
|
||||
Reference in New Issue
Block a user