diff --git a/run b/run index 0676145..08a0ab1 100755 --- a/run +++ b/run @@ -60,7 +60,7 @@ case "$cmd" in log) if [ -n "$is_running" ]; then tmp=$(mktemp) - tmux capture -b $session -p -S - >$tmp + tmux capture -t $session -p -S - >$tmp if [ $(cat $tmp |wc -l) -gt 30 ]; then head -10 $tmp echo