]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-wait: initialize timeout to -1
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 31 Aug 2012 16:28:42 +0000 (11:28 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:17:30 +0000 (13:17 -0500)
commit06200a37fcdb627fce265e263947862b70bacdbf
treeafcc652a0c6cbddf225392cd46f7ba9c6edc4367
parent69d66f1e729aadfcf2f47aaedaf738a888e4646d
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: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxc_wait.c