diff --git a/scripts/upgrade b/scripts/upgrade index ee4c1e2..0f5996e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -107,7 +107,7 @@ then # Delete the directory if it's only one character long if [ ${#dirname} -eq 1 ] then - ynh_secure_remove "$file" + ynh_secure_remove --file="$file" fi done <<< "$(find "$var_root/$type" -maxdepth 1 -mindepth 1 -type d)" # List all first level directories done