Skip to content

Commit 55eff1a

Browse files
committed
check if backup process actually running
1 parent 8213708 commit 55eff1a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plogical/backupSchedule.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ def prepare():
270270
output = ProcessUtilities.outputExecutioner('ps aux')
271271

272272
if output.find('/usr/local/CyberCP/plogical/backupSchedule.py') > -1 and output.find(pid) > -1:
273-
pid = open(backupSchedule.runningPath, 'r').read()
274273
print(
275274
'\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' % (
276275
pid, pid))

0 commit comments

Comments
 (0)