1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/domoticz_ynh.git synced 2024-09-03 18:26:17 +02:00

use ynh_secure_remove

This commit is contained in:
Krakinou 2022-12-02 19:20:47 +01:00
parent c4f0a6f329
commit a592eaea86

View file

@ -149,7 +149,7 @@ fi
#remove unwanted log folder #remove unwanted log folder
if [-d "/var/log/$app/$app" ]; then if [-d "/var/log/$app/$app" ]; then
rm -r "/var/log/$app/$app" ynh_secure_remove "/var/log/$app/$app"
fi fi
#================================================= #=================================================