args should always be checked

This commit is contained in:
Cheng Zhao 2016-06-03 12:08:45 +09:00
parent d3fe80991c
commit be6ed84ff2

View file

@ -418,7 +418,7 @@ bool App::Relaunch(mate::Arguments* js_args) {
mate::Dictionary options; mate::Dictionary options;
if (js_args->GetNext(&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; override_argv = true;
} }