Commit 85a9d078 by Stéphane Graber

Cleanup lxc_wait

- Remove unused timeout_handler function. - Remove unsused variables from main() Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent fe88b9d2
...@@ -78,17 +78,8 @@ Options :\n\ ...@@ -78,17 +78,8 @@ Options :\n\
.timeout = -1, .timeout = -1,
}; };
static void timeout_handler(int signal)
{
exit(-1);
}
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
struct lxc_msg msg;
int s[MAX_STATE] = { }, fd;
int state, ret;
if (lxc_arguments_parse(&my_args, argc, argv)) if (lxc_arguments_parse(&my_args, argc, argv))
return -1; return -1;
......
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