mirror of
git://github.com/lxc/lxc
synced 2025-09-05 16:39:52 +00:00
Fix uninitialized value in lxc_try_cmd
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
@@ -293,7 +293,7 @@ out:
|
||||
|
||||
int lxc_try_cmd(const char *name, const char *lxcpath)
|
||||
{
|
||||
int stopped, ret;
|
||||
int stopped = 0, ret;
|
||||
struct lxc_cmd_rr cmd = {
|
||||
.req = { .cmd = LXC_CMD_GET_INIT_PID },
|
||||
};
|
||||
|
Reference in New Issue
Block a user