ci-automation/garbage_collect: remove spurious line number

This commit is contained in:
flatcar-ci 2021-11-18 17:55:10 +01:00
parent cfc007be17
commit b780fd4b19

View File

@ -60,7 +60,7 @@ function garbage_collect() {
echo "(NOTE this is just a dry run since DRY_RUN=y)" echo "(NOTE this is just a dry run since DRY_RUN=y)"
echo echo
fi fi
echo "${purge_versions}" | awk -v keep="${keep}" '{printf "%5d %s\n", NR + keep - 1, $0}' echo "${purge_versions}" | awk -v keep="${keep}" '{if ($0 == "") next; printf "%5d %s\n", NR + keep - 1, $0}'
echo echo
echo echo