hbbs

bbs.hlirc.net
Log | Files | Refs | README | LICENSE

commit 03826b795d2dc2e69386d7414387ae30ec4da8a2
parent a1edc950eef66cc6a132a1054d623f093f83c148
Author: hhvn <hayden@haydenvh.com>
Date:   Mon,  1 Mar 2021 16:28:46 +0000

bin/interface.sh: make 'a' command default in menu_read

Diffstat:
Mbin/interface.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/interface.sh b/bin/interface.sh @@ -289,7 +289,7 @@ menu_read(){ "") oldid="$id" id=$(awk -v "file=$(echo "$file" | sed 's/ .*//')" -v "id2=$id2" -F" " '$6 == file && ($2 - 1) == id2 {print $1"."$2}' < $datadir/boards/$board/list) - [ "$id" = "" ] && set_mode boards && id="$oldid" + [ "$id" = "" ] && set_mode list break ;; *) error "unrecognized command" ;;