msiexec: Don't crash if there's no args.
This commit is contained in:
parent
43f7f3ec3f
commit
2b8abca493
|
@ -401,7 +401,7 @@ int main(int argc, char **argv)
|
|||
* We do that before starting to process the real commandline,
|
||||
* then overwrite the commandline again.
|
||||
*/
|
||||
if(msi_option_equal(argvW[1], "@"))
|
||||
if(argc>1 && msi_option_equal(argvW[1], "@"))
|
||||
{
|
||||
if(!process_args_from_reg( argvW[2], &argc, &argvW ))
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue