mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
Merge 8c2de314ac
into cb9467a142
This commit is contained in:
commit
095128cf4f
1 changed files with 2 additions and 2 deletions
|
@ -99,10 +99,10 @@ def cull_zombies(session_name):
|
||||||
if not output:
|
if not output:
|
||||||
return
|
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
|
# the group number to be extra sure the right session is getting
|
||||||
# killed. We don't want to accidentally kill the wrong one
|
# 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)
|
master = re.search(pattern, output, re.MULTILINE)
|
||||||
if not master:
|
if not master:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue