mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
* usr/lib/byobu/include/select-session.py:
- Fix culling sessions with named groups (#25) - https://github.com/dustinkirkland/byobu/pull/25
This commit is contained in:
parent
4311382b18
commit
11bf755c9b
2 changed files with 7 additions and 2 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -9,6 +9,11 @@ byobu (5.124) unreleased; urgency=medium
|
|||
* === added directory snap, snap/snapcraft.yaml:
|
||||
- initial crack at snap packaging
|
||||
|
||||
[ Ari Pollak ]
|
||||
* usr/lib/byobu/include/select-session.py:
|
||||
- Fix culling sessions with named groups (#25)
|
||||
- https://github.com/dustinkirkland/byobu/pull/25
|
||||
|
||||
[ Charles Alva ]
|
||||
* usr/bin/purge-old-kernels:
|
||||
- make sure we pass through the -f|-y apt options
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue