From a59bee897793cad00550d00bcc9eb3869119839b Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 22 Sep 2019 15:25:46 +0200 Subject: [PATCH] [fix] secure remove tmp and log folders --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 33ae0a0..a3bd250 100644 --- a/scripts/remove +++ b/scripts/remove @@ -82,11 +82,11 @@ ynh_remove_logrotate #================================================= # Remove a temp directory securely -ynh_secure_remove --file="/tmp/$app/" +ynh_secure_remove --file="/tmp/$app" ynh_secure_remove --file="/tmp/${app}backup" # Remove the log files -ynh_secure_remove --file="/var/log/$app/" +ynh_secure_remove --file="/var/log/$app" #================================================= # GENERIC FINALIZATION