commit | 076e516e8b732b6975b5768ebfa8fcd1fb154f1e | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Mar 14 16:18:46 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Mar 14 16:20:44 2012 +0400 |
tree | 4b19a8a80b4ca811bef9336b2c3caae866b376f0 | |
parent | 7113c30f86857d61a4c814b6dbc92129950c069a [diff] |
vzctl_create_image(): improve 1. Use make_dir_mode() which reports error and returns proper exit code 2. Remove directory in case ploop_create_image() failed 3. Reuse 'dir' variable in snprintf(image) Signed-off-by: Kir Kolyshkin <kir@openvz.org>