Skip to content

Commit 267ff47

Browse files
committed
Fix for old version of pv [fix]
1 parent 0b9f8ec commit 267ff47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

run/fill-db

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ then
237237
| grep -v INFO -B 1 \
238238
| tee --append "$validation_output_file"
239239
done < "$ttl_list_file" 2>&1 \
240-
| pv -pet --line-mode --size "$num_ttls" --discard
240+
| pv -pet --line-mode --size "$num_ttls" > /dev/null
241241
echo "Validation results stored in file '$validation_output_file'."
242242
lines_syntax_violations="$(cat "$validation_output_file" | wc -l)"
243243
num_syntax_violations="$((lines_syntax_violations / 2))"
@@ -269,7 +269,7 @@ do
269269
"${batch[@]}"
270270
# --loader=parallel \
271271
done < "$ttl_list_file" 2>&1 \
272-
| pv -pet --line-mode --size "$num_ttls" --discard
272+
| pv -pet --line-mode --size "$num_ttls" > /dev/null
273273
echo
274274
if [ -e "$db_dir" ]
275275
then

0 commit comments

Comments
 (0)