1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00

Update gravity.sh to use color with -t

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
This commit is contained in:
Dominik 2024-09-18 16:13:35 -04:00 committed by GitHub
parent 111dfc63ff
commit 0f4ad7734c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -895,7 +895,7 @@ timeit(){
elapsed_time=$((end_time - start_time))
# Display the elapsed time
printf " --> took %d.%03d seconds\n" $((elapsed_time / 1000)) $((elapsed_time % 1000))
printf " %b--> took %d.%03d seconds%b\n" ${COL_BLUE} $((elapsed_time / 1000)) $((elapsed_time % 1000)) ${COL_NC}
return $ret
}