bug fix: inc backups

This commit is contained in:
Usman Nasir
2019-12-16 13:05:50 +05:00
parent db444c7e1f
commit fde41d4b35
5 changed files with 129 additions and 92 deletions

View File

@@ -718,7 +718,7 @@ class IncJobs(multi.Thread):
if not os.path.exists(self.passwordFile):
password = randomPassword.generate_pass()
command = 'echo "%s" > %s' % (password, self.passwordFile)
ProcessUtilities.executioner(command, self.website.externalApp)
ProcessUtilities.executioner(command, self.website.externalApp, True)
command = 'chmod 600 %s' % (self.passwordFile)
ProcessUtilities.executioner(command)