init.d/vz-redhat: do not leave stale vz_lock files

In case lockfile function performed fine, but later on the 'vz start' stage
something has failed, lock file is not removed. This added trap fixes that
problem in the most straightforward way. ;)

Problem discovered while running /etc/init.d/vz start on a non-OpenVZ kernel.
1 file changed