From 36e7420d5d1dcb6d0e63c2ebb01b3f2e9737e255 Mon Sep 17 00:00:00 2001 From: YCC Date: Wed, 14 Feb 2024 01:35:37 +0800 Subject: [PATCH] fix expr: syntax error by initiate integer value --- usr/bin/byobu-layout.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/byobu-layout.in b/usr/bin/byobu-layout.in index 29679610..670deeb3 100755 --- a/usr/bin/byobu-layout.in +++ b/usr/bin/byobu-layout.in @@ -31,7 +31,7 @@ current_panes=$(tmux list-panes | wc -l) list_layouts() { echo echo "Byobu Saved Layouts" - local count=0 i= desc= count= p= + local count=0 i= desc= p= for i in $PRESETS "$DIR"/*; do desc=${i##*/} count=$(expr $count + 1)