From be6ed84ff2ac3aa4d5580a383531b4780b134de6 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 3 Jun 2016 12:08:45 +0900 Subject: [PATCH] args should always be checked --- atom/browser/api/atom_api_app.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/api/atom_api_app.cc b/atom/browser/api/atom_api_app.cc index 76fbdb1859..5d4aafca69 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; }