args should always be checked
This commit is contained in:
parent
d3fe80991c
commit
be6ed84ff2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue