aboutsummaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rw-r--r--tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 09126f9..56d04eb 100644
--- a/tests.sh
+++ b/tests.sh
@@ -22,7 +22,7 @@ tmux_kill_server() {
}
tmux_pane_count() {
- num_panes=$(tmux -L "$TMUX_SOCKET" list-panes | wc -l | bc)
+ num_panes=$(tmux -L "$TMUX_SOCKET" list-panes | wc -l | sed 's/^[[:space:]]*//g')
echo "$num_panes"
}