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:
parent
c4f0a6f329
commit
a592eaea86
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ fi
|
|||
|
||||
#remove unwanted log folder
|
||||
if [-d "/var/log/$app/$app" ]; then
|
||||
rm -r "/var/log/$app/$app"
|
||||
ynh_secure_remove "/var/log/$app/$app"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue