unlock singleton before upgrade

This commit is contained in:
Itay Mizeretz 2018-02-28 19:54:10 +02:00
parent 784e383959
commit 72fd930499
1 changed files with 1 additions and 0 deletions

View File

@ -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