minor fix to avoid cleanup() if web backdoor upload failed

This commit is contained in:
Bernardo Damele 2012-07-16 17:58:30 +01:00
parent e80e51ee48
commit 52431402dd

View File

@ -112,7 +112,7 @@ class Miscellaneous:
and functions and functions
""" """
if web: if web and self.webBackdoorFilePath:
logger.info("cleaning up the web files uploaded") logger.info("cleaning up the web files uploaded")
self.delRemoteFile(self.webStagerFilePath) self.delRemoteFile(self.webStagerFilePath)