commands: remove unnecessary check

parent d28ea2a1
...@@ -317,7 +317,7 @@ static int lxc_cmd(const char *name, struct lxc_cmd_rr *cmd, int *stopped, ...@@ -317,7 +317,7 @@ static int lxc_cmd(const char *name, struct lxc_cmd_rr *cmd, int *stopped,
return ret; return ret;
} }
if (stay_connected && ret > 0) if (stay_connected)
cmd->rsp.ret = client_fd; cmd->rsp.ret = client_fd;
return ret; return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment