]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-stop: don't set timeout if user requested -s
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 23 Dec 2013 16:23:38 +0000 (10:23 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 23 Dec 2013 16:25:43 +0000 (10:25 -0600)
commit25070b660187b61aa4e969db01b55d1360639543
tree28b81f6370cc2106bfefab5f5b0a549deafaf9cc
parent4878dac496543dae0a26f5c1156bbfda63c8ea62
lxc-stop: don't set timeout if user requested -s

A timeout means wait this long before killing the container.
-s means don't kill the container.  timeout defaults to 60
seconds.  So if a shutdown is requested, then set timeout to
0.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
doc/lxc-stop.sgml.in
src/lxc/lxc_stop.c