diff --git a/scripts/upgrade b/scripts/upgrade index b213629..92e6771 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -149,7 +149,7 @@ fi #remove unwanted log folder if [-d "/var/log/$app/$app" ]; then - rm -r "/var/log/$app/$app" + ynh_secure_remove "/var/log/$app/$app" fi #=================================================