commit | 06b70353f60c46c1c7cbd88f8b6b11da95c506d2 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Jun 02 14:59:51 2014 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Jun 02 14:59:51 2014 -0700 |
tree | 5f1b47b9b28a6cb863c0c0e76d79b55f5c4d4da8 | |
parent | 424c15f00af21b5c5a2c5133ecfdf4faa7f4c6af [diff] |
vzmigrate: detect "can't lock CT" error In some cases we can't lock container not because it's already locked, but for some other reason (running as non-root, no lock directory). In such cases, there is no lock file, so we can check for this condition print an appropriate error message and exit. Signed-off-by: Kir Kolyshkin <kir@openvz.org>