mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
UI: Return 0 when launch cancelled or failed
This commit is contained in:
parent
ee4cbb1199
commit
d6e8fbf0d1
|
@ -1809,7 +1809,7 @@ static int run_program(fstream &logFile, int argc, char *argv[])
|
|||
}
|
||||
|
||||
if (cancel_launch)
|
||||
ret = 0;
|
||||
return 0;
|
||||
|
||||
if (!created_log) {
|
||||
create_log_file(logFile);
|
||||
|
@ -1847,7 +1847,7 @@ static int run_program(fstream &logFile, int argc, char *argv[])
|
|||
}
|
||||
|
||||
if (!program.OBSInit())
|
||||
ret = 0;
|
||||
return 0;
|
||||
|
||||
prof.Stop();
|
||||
|
||||
|
|
Loading…
Reference in a new issue