On Sat, Jun 20, 2026 at 04:07:28PM -0400, Jon Maloy wrote: > pane_watch_contexts() starts tail -f --retry on context log files, > but those files may not exist yet when tail starts, resulting in > error messages in the tmux pane. Pre-create them with touch so > tail can open them immediately. Eh, sure. But if you do this, you shouldn't need the --retry any more. > > Signed-off-by: Jon Maloy > --- > test/lib/term | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/test/lib/term b/test/lib/term > index 2d2d2182..23639e34 100755 > --- a/test/lib/term > +++ b/test/lib/term > @@ -252,6 +252,7 @@ pane_watch_contexts() { > tmux select-pane -t ${__pane_number} -T "${__desc}" > __cmd="tail -f --retry" > for c; do > + touch "${LOGDIR}/context_${c}.log" > __cmd="${__cmd} ${LOGDIR}/context_${c}.log" > done > cmd_write ${__pane_number} "${__cmd}" > -- > 2.52.0 > -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson