now using ynh_secure_remove helper

This commit is contained in:
keoma
2019-02-09 12:51:11 +01:00
parent bfcf8067f3
commit e4c80d4c6b
3 changed files with 11 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