This commit is contained in:
Ari Pollak 2017-11-13 17:08:39 +00:00 committed by GitHub
commit 095128cf4f

View file

@ -99,10 +99,10 @@ def cull_zombies(session_name):
if not output:
return
# Find the master session to extract the group number. We use
# Find the master session to extract the group name. We use
# the group number to be extra sure the right session is getting
# killed. We don't want to accidentally kill the wrong one
pattern = "^%s:.+\\((group \\d+)\\).*$" % session_name
pattern = "^%s:.+\\((group \\w+)\\).*$" % session_name
master = re.search(pattern, output, re.MULTILINE)
if not master:
return