From a19b961427d036f78d897e79a7144880d7a34ce3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 4 Jul 2026 18:37:53 +0100 Subject: [PATCH] Fix test. --- regress/session-ops.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/session-ops.sh b/regress/session-ops.sh index 2da14b959..3b4f10073 100644 --- a/regress/session-ops.sh +++ b/regress/session-ops.sh @@ -32,7 +32,7 @@ $TMUX kill-server 2>/dev/null # Run a command and require that it succeeds. check_ok() { - if ! $TMUX "$@"; then + if ! $TMUX "$@" &1) + out=$($TMUX "$@" &1) if [ $? -eq 0 ]; then echo "Command succeeded (expected failure): $*" exit 1