Update v-clean-garbage

This commit is contained in:
myvesta 2024-11-10 17:22:47 +01:00 committed by GitHub
commit 46d2a729a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,6 +14,10 @@ if [ "$whoami" != "root" ]; then
exit 1
fi
echo "===== Before cleaning ====="
df -h
echo "==========================="
# Includes
source /usr/local/vesta/func/main.sh
@ -107,7 +111,13 @@ fi
# Vesta #
#----------------------------------------------------------#
echo "=== Garbage cleaned ==="
echo ""
echo "***** Garbage cleaned *****"
echo ""
echo "===== After cleaning ======"
df -h
echo "==========================="
log_event "$OK" "$ARGUMENTS"