From 157fa25057fca6d2c4350c76d3bf691ffb162c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 10 Nov 2020 20:47:22 +0100 Subject: [PATCH] Update scripts/upgrade Co-authored-by: yalh76 --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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