commit | 3ec48156c5b239e0343055c55bc808710b31564e | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Mar 26 19:52:25 2007 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Mar 26 19:52:25 2007 +0400 |
tree | a5c953aaf31591e9e77a1519b7f5630b60515620 | |
parent | caf408fb3ea11ef51ff8d73b77c2d88f58262c46 [diff] |
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.