mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-14 18:57:20 -07:00
Fix cull_zombies() for sessions with non-numeric names
This commit is contained in:
parent
cb9467a142
commit
72e8630b1d
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def cull_zombies(session_name):
|
|||
# Find the master session to extract the group number. 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 [^\\)]+)\\).*$" % session_name
|
||||
master = re.search(pattern, output, re.MULTILINE)
|
||||
if not master:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue