Lint error
This commit is contained in:
parent
cbbd4a4a3b
commit
7bdd259d2e
1 changed files with 3 additions and 3 deletions
|
@ -125,11 +125,11 @@ void AtomMainDelegate::PreSandboxStartup() {
|
||||||
// Only append arguments for browser process.
|
// Only append arguments for browser process.
|
||||||
if (!IsBrowserProcess(command_line))
|
if (!IsBrowserProcess(command_line))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!command_line->HasSwitch(switches::kEnableMixedSandbox)) {
|
if (!command_line->HasSwitch(switches::kEnableMixedSandbox)) {
|
||||||
if (command_line->HasSwitch(switches::kEnableSandbox)) {
|
if (command_line->HasSwitch(switches::kEnableSandbox)) {
|
||||||
// Disable setuid sandbox since it is not longer required on linux(namespace
|
// Disable setuid sandbox since it is not longer required on
|
||||||
// sandbox is available on most distros).
|
// linux(namespace sandbox is available on most distros).
|
||||||
command_line->AppendSwitch(::switches::kDisableSetuidSandbox);
|
command_line->AppendSwitch(::switches::kDisableSetuidSandbox);
|
||||||
} else {
|
} else {
|
||||||
// Disable renderer sandbox for most of node's functions.
|
// Disable renderer sandbox for most of node's functions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue