feat: party clean removes the caller's own crash leftovers
Turns the manual rm -rf recovery from host's EEXIST message into a verb, behind the same gates cmd_close uses: own-basename glob, no symlinks, ownership check, and a dead socket. Live parties are skipped with a pointer to party close.
This commit is contained in:
parent
6799a57405
commit
a011e4b03c
6 changed files with 133 additions and 9 deletions
6
party.1
6
party.1
|
|
@ -14,6 +14,8 @@
|
|||
.Cm close
|
||||
.Op Ar name
|
||||
.Nm
|
||||
.Cm clean
|
||||
.Nm
|
||||
.Cm join
|
||||
.Op Ar name
|
||||
.Op Fl -passive
|
||||
|
|
@ -136,6 +138,10 @@ With no
|
|||
.Ar name ,
|
||||
closes the only party the caller hosts.
|
||||
Host-only.
|
||||
.It Cm clean
|
||||
Remove the caller's own dead party directories: crash leftovers whose
|
||||
tmux server no longer answers.
|
||||
Never touches live parties, other users' directories, or symlinks.
|
||||
.It Cm join Op Ar name Op Fl -passive
|
||||
Join a party.
|
||||
With no
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue