From eec0f52ab0e6961631efb73f87d77437aacf2439 Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Fri, 1 May 2020 17:41:25 +0200 Subject: [PATCH] Stop using rm -rf --- scripts/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index 56849fa..7f9f399 100644 --- a/scripts/backup +++ b/scripts/backup @@ -28,7 +28,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) # STANDARD BACKUP STEPS #================================================= # clean folder -rm -rf $final_path/backup +ynh_secure_remove --file="$final_path/backup" mkdir -p $final_path/backup #================================================= # BACKUP DIASPORA DATABASE