From 95efe08c7a8f14ed782a95addd40a313bb47dee9 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 21 Feb 2007 14:27:35 +0100 Subject: [PATCH] uup: do not try to read over keys below the file list --- uup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uup b/uup index 1fca44a..62e2afe 100755 --- a/uup +++ b/uup @@ -23,7 +23,7 @@ done count=0 while true; do read -u 3 md5sum size section priority fname - if [ -z "$fname" ]; then break; fi + if [ -z "$fname" ] || echo "$md5sum" | grep -q :; then break; fi files[$count]="$fname" ((count=count+1)) done -- 2.39.2