forked from p15670423/monkey
Agent: Revert "legacy" in dropper start() and cleanup() functions
This commit is contained in:
parent
48782e79d4
commit
13e16b9dea
|
@ -57,7 +57,7 @@ class MonkeyDrops(object):
|
|||
|
||||
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:
|
||||
logger.error("No destination path specified")
|
||||
return False
|
||||
|
@ -182,7 +182,7 @@ class MonkeyDrops(object):
|
|||
if monkey_process.poll() is not None:
|
||||
logger.warning("Seems like monkey died too soon")
|
||||
|
||||
def legacy_cleanup(self):
|
||||
def cleanup(self):
|
||||
logger.info("Cleaning up the dropper")
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue