Fix bug in do_fetch, skip empty line
This commit is contained in:
parent
3b95011da6
commit
b9501e5b25
1 changed files with 1 additions and 0 deletions
|
@ -295,6 +295,7 @@ do_fetch()
|
|||
|
||||
printf "%s\n" "$PNEED" | while read PACKLINE
|
||||
do
|
||||
[ -z "$PACKLINE" ] && break
|
||||
PACK=${PACKLINE#"$PACKPFX"}
|
||||
RCVID="$(GET "$URL" "$PACK" | tee "$TMPPACK_ENCRYPTED" | pack_hash)"
|
||||
if [ "$RCVID" != "$PACK" ]
|
||||
|
|
Loading…
Reference in a new issue