commit | 3b55e6d8db2fa8dcf567ecd251cb8661fcb8a7f9 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Sat Mar 10 02:08:55 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Sat Mar 10 02:08:55 2012 +0400 |
tree | f5872bdd5d4a972d7595b007741a3df1870ef1e4 | |
parent | e4a3f05e0baab940840890461a385383d594bacf [diff] |
vzctl create: remove half-created private area in case of error In case vps-create script failed, we were not removing half-created private area. Let's fix it. Note that in non-error case tmp_dir is renamed so del_dir() will do nothing. Signed-off-by: Kir Kolyshkin <kir@openvz.org>