mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-27 21:30:43 +00:00
Fix update installer being run twice in each process.
This commit is contained in:
parent
93274ed348
commit
1ce064a686
1 changed files with 0 additions and 1 deletions
|
@ -49,7 +49,6 @@ int main(int argc, char** argv)
|
||||||
installer.setScript(&script);
|
installer.setScript(&script);
|
||||||
installer.setWaitPid(options.waitPid);
|
installer.setWaitPid(options.waitPid);
|
||||||
|
|
||||||
installer.run();
|
|
||||||
boost::thread updaterThread(boost::bind(&UpdateInstaller::run,&installer));
|
boost::thread updaterThread(boost::bind(&UpdateInstaller::run,&installer));
|
||||||
updaterThread.join();
|
updaterThread.join();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue