properly using ynh_secure_remove

This commit is contained in:
keoma
2019-02-09 13:03:20 +01:00
parent e4ea067b26
commit 8617c23c2b
3 changed files with 18 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ function ynh_systemctl()
# Save and release the lock...
cp $LOCKFILE $LOCKFILE.bkp.$$
rm $LOCKFILE
ynh_secure_remove $LOCKFILE
# Wait for the end of the action
wait $SYSCTLACTION