forked from p34709852/monkey
unlock singleton before upgrade
This commit is contained in:
parent
784e383959
commit
72fd930499
|
@ -77,6 +77,7 @@ class InfectionMonkey(object):
|
||||||
|
|
||||||
if WindowsUpgrader.should_upgrade():
|
if WindowsUpgrader.should_upgrade():
|
||||||
self._upgrading_to_64 = True
|
self._upgrading_to_64 = True
|
||||||
|
self._singleton.unlock()
|
||||||
LOG.info("32bit monkey running on 64bit Windows. Upgrading.")
|
LOG.info("32bit monkey running on 64bit Windows. Upgrading.")
|
||||||
WindowsUpgrader.upgrade(self._opts)
|
WindowsUpgrader.upgrade(self._opts)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue