From c15313239476ebd0a3587e87f364ea1f3ffd0a3a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 6 Apr 2020 16:38:32 +0200 Subject: [PATCH] default to index listing --- list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list.sh b/list.sh index 8e46ab3..58eb062 100644 --- a/list.sh +++ b/list.sh @@ -151,7 +151,7 @@ list_filemeta(){ list_items() { local mode meta - mode="$(COOKIE mode |grep -m1 -axE 'index|browse' || printf browse )" + mode="$(COOKIE mode |grep -m1 -axE 'index|browse' || printf index )" if [ "$mode" = browse ]; then [ "$ITEM" ] && printf 'dir\t..\n' -- 2.39.2