From 110876b57ed21d52d02af4162575edf09203268d Mon Sep 17 00:00:00 2001 From: Jules-Bertholet Date: Sun, 4 Apr 2021 21:10:53 -0400 Subject: [PATCH] Fix "Remove various files" step ynh_secure_remove won't remove paths that end in a slash --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 377c69f..5056b4f 100755 --- a/scripts/remove +++ b/scripts/remove @@ -119,10 +119,10 @@ ynh_remove_fail2ban_config ynh_secure_remove --file="/etc/cron.d/$app" # Remove a directory securely -ynh_secure_remove --file="/etc/$app/" +ynh_secure_remove --file="/etc/$app" # Remove the log files -ynh_secure_remove --file="/var/log/$app/" +ynh_secure_remove --file="/var/log/$app" #================================================= # GENERIC FINALIZATION