bug fix backupSchedule.py

This commit is contained in:
Usman Nasir
2020-05-24 23:35:08 +05:00
parent 74ac832a44
commit c44e29b159

View File

@@ -83,6 +83,13 @@ class backupSchedule:
except: except:
fileName = "Fetching.." fileName = "Fetching.."
ifRunning = ProcessUtilities.outputExecutioner('ps aux')
if (ifRunning.find('startBackup') > -1 or ifRunning.find('BackupRoot') > -1) and ifRunning.find('/%s/' % (backupDomain)):
pass
else:
return 0, 'Backup process killed without reporting any error.'
## file name read ends ## file name read ends
if os.path.exists(status): if os.path.exists(status):