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,14 +103,18 @@ 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
echo " [ warning ]" if $LOGGING ; then
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
echo ' [ failed! ]' if $LOGGING ; then
echo ' [ failed! ]'
fi
fi fi
} }
echo_skipped() { echo_skipped() {