Commit 06200a37 by Serge Hallyn Committed by Stéphane Graber

lxc-wait: initialize timeout to -1

Otherwise it defaults to 0, meaning don't wait. -1 means wait forever, which is what we want as the default behavior. Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent 69d66f1e
...@@ -75,6 +75,7 @@ Options :\n\ ...@@ -75,6 +75,7 @@ Options :\n\
.options = my_longopts, .options = my_longopts,
.parser = my_parser, .parser = my_parser,
.checker = my_checker, .checker = my_checker,
.timeout = -1,
}; };
static void timeout_handler(int signal) static void timeout_handler(int signal)
......
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