adding print
adding prints to identify what sub script is doing.
This commit is contained in:
parent
5dbcb48093
commit
55f4764533
@ -25,12 +25,15 @@ interval = int(sys.argv[3])
|
||||
x = 0
|
||||
|
||||
try:
|
||||
print('Executing sub script.')
|
||||
while x < timeout and x is not None:
|
||||
sleep(x)
|
||||
if kill_stream(check_session(sessionKey), interval, timeout) is not None:
|
||||
x += kill_stream(check_session(sessionKey), interval, timeout)
|
||||
else:
|
||||
print('Exiting sub script.')
|
||||
exit(0)
|
||||
print('Sub script initiating kill.')
|
||||
kill_stream(check_session(sessionKey), timeout, timeout)
|
||||
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user