diff --git a/atom/browser/api/atom_api_app.cc b/atom/browser/api/atom_api_app.cc index 76fbdb1859b5..5d4aafca6999 100644 --- a/atom/browser/api/atom_api_app.cc +++ b/atom/browser/api/atom_api_app.cc @@ -418,7 +418,7 @@ bool App::Relaunch(mate::Arguments* js_args) { mate::Dictionary options; if (js_args->GetNext(&options)) { - if (options.Get("execPath", &exec_path) || options.Get("args", &args)) + if (options.Get("execPath", &exec_path) | options.Get("args", &args)) override_argv = true; }