cleanup_drupal_cache_watchdog.sh: correct output.

This commit is contained in:
Christoph 2017-07-03 14:18:26 +02:00
parent 567ecc6b75
commit 1abb3129d8

View File

@ -103,15 +103,19 @@ echo_warning() {
if $terminal ; then if $terminal ; then
echo -e "\033[75G[ \033[33m\033[1mwarn\033[m ]" echo -e "\033[75G[ \033[33m\033[1mwarn\033[m ]"
else else
if $LOGGING ; then
echo " [ warning ]" echo " [ warning ]"
fi fi
fi
} }
echo_failed(){ echo_failed(){
if $terminal ; then if $terminal ; then
echo -e "\033[75G[ \033[1;31mfailed\033[m ]" echo -e "\033[75G[ \033[1;31mfailed\033[m ]"
else else
if $LOGGING ; then
echo ' [ failed! ]' echo ' [ failed! ]'
fi fi
fi
} }
echo_skipped() { echo_skipped() {
if $terminal ; then if $terminal ; then