[lxc-devel] [PATCH] lxc_start: report error message when config is not a regular file

2015-10-16 Thread Yang Shi
When run the below command: lxc-start -n name -f /path/to/config If config is not a regular file, lxc-start will be killed by SEG FAULT directly. Exit with some error message to improve user experience. Signed-off-by: Yang Shi <yang@linaro.org> --- src/lxc/lxc_start.c | 13 ++

[lxc-devel] [PATCH] lxc_start: report error message when config is not a regular file

2015-10-14 Thread Yang Shi
When run the below command: lxc-start -n name -f /path/to/config If config is not a regular file, lxc-start will be killed by SEG FAULT directly. Exit with some error message to improve user experience. Signed-off-by: Yang Shi <yang@linaro.org> --- src/lxc/lxc_start.c | 13 ++