Update v-clean-garbage

This commit is contained in:
myvesta 2023-02-05 16:19:10 +01:00 committed by GitHub
commit 43ebf79c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,9 +4,8 @@
# #
# The function is cleaning all unnecessary files like logs # The function is cleaning all unnecessary files like logs
#----------------------------------------------------------# #----------------------------------------------------------#
# Verifications # # Verifications & Variable & Function #
#----------------------------------------------------------# #----------------------------------------------------------#
whoami=$(whoami) whoami=$(whoami)
@ -15,6 +14,9 @@ if [ "$whoami" != "root" ]; then
exit 1 exit 1
fi fi
# Includes
source /usr/local/vesta/func/main.sh
#----------------------------------------------------------# #----------------------------------------------------------#
# Action # # Action #
#----------------------------------------------------------# #----------------------------------------------------------#