]> git.plutz.net Git - serve0/commitdiff
forgot break;;
authorPaul Hänsch <paul@plutz.net>
Mon, 24 Apr 2023 18:17:25 +0000 (20:17 +0200)
committerPaul Hänsch <paul@plutz.net>
Mon, 24 Apr 2023 18:17:25 +0000 (20:17 +0200)
list.sh

diff --git a/list.sh b/list.sh
index 8df5b6ea4c3cfa9228de058aab491adf11cbed9a..94a926465f40f161474b4ef364ab7f1744065c3e 100755 (executable)
--- a/list.sh
+++ b/list.sh
@@ -164,6 +164,7 @@ list_paginate() {
       read -r discard || break
     elif [ $c -ge $end ]; then
       c=$((c + $(wc -l) ))
+      break
     else
       read_meta || break
       list_item