Re: [lxc-devel] [PATCH] lxc-monitord: remove hard code execvp path of lxc-monitord

2013-06-09 Thread Serge Hallyn
Quoting Rui Xiang (rui.xi...@huawei.com): > Sometimes, the path of lxc tools is not '/usr/bin', but > '/usr/local/bin' or other. Then execvp lxc-monitord will fail > in lxc_monitord_spawn. > > Signed-off-by: Rui Xiang Acked-by: Serge E. Hallyn > --- > src/lxc/monitor.c | 2 +- > 1 file change

[lxc-devel] [PATCH] lxc-monitord: remove hard code execvp path of lxc-monitord

2013-06-08 Thread Rui Xiang
Sometimes, the path of lxc tools is not '/usr/bin', but '/usr/local/bin' or other. Then execvp lxc-monitord will fail in lxc_monitord_spawn. Signed-off-by: Rui Xiang --- src/lxc/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/monitor.c b/src/lxc/monitor.c in