Agent: Revert "legacy" in dropper start() and cleanup() functions

This commit is contained in:
Mike Salvatore 2021-12-01 11:24:54 -05:00
parent 48782e79d4
commit 13e16b9dea
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class MonkeyDrops(object):
logger.debug("Dropper is running with config:\n%s", pprint.pformat(self._config)) logger.debug("Dropper is running with config:\n%s", pprint.pformat(self._config))
def legacy_start(self): def start(self):
if self._config["destination_path"] is None: if self._config["destination_path"] is None:
logger.error("No destination path specified") logger.error("No destination path specified")
return False return False
@ -182,7 +182,7 @@ class MonkeyDrops(object):
if monkey_process.poll() is not None: if monkey_process.poll() is not None:
logger.warning("Seems like monkey died too soon") logger.warning("Seems like monkey died too soon")
def legacy_cleanup(self): def cleanup(self):
logger.info("Cleaning up the dropper") logger.info("Cleaning up the dropper")
try: try: