getFiles: clear end of line when displaying summary

This commit is contained in:
Vincent Riquer 2025-01-23 00:19:16 +01:00
parent 16f0d42335
commit 792390678d

View File

@ -60,6 +60,6 @@ getFiles() {
)
echo 'COMMIT;' >&3
(( cron )) || echo -n $'\r'
echo "${count:-0} files found, ${new:=0} new or changed."
echo "${count:-0} files found, ${new:=0} new or changed."$'\033[K'
unset count
}