diff --git a/plogical/backupSchedule.py b/plogical/backupSchedule.py index e58d9fe23..d9d800b8e 100755 --- a/plogical/backupSchedule.py +++ b/plogical/backupSchedule.py @@ -270,7 +270,6 @@ class backupSchedule: output = ProcessUtilities.outputExecutioner('ps aux') if output.find('/usr/local/CyberCP/plogical/backupSchedule.py') > -1 and output.find(pid) > -1: - pid = open(backupSchedule.runningPath, 'r').read() print( '\n\nRemote backup is already running with PID: %s. If you want to run again kindly kill the backup process: \n\n kill -9 %s.\n\n' % ( pid, pid))