From: Serge Hallyn Date: Tue, 14 Apr 2015 19:56:10 +0000 (-0500) Subject: Revert "do_lxcap_stop: wait until container is stopped" X-Git-Tag: lxc-1.1.3~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b140d243722cc296159a4edcb47c2fbcd6d11b72;p=thirdparty%2Flxc.git Revert "do_lxcap_stop: wait until container is stopped" This breaks lxc-test-concurrent. This reverts commit fef9aa89e99285609d51848623f84ecd3a3109df. --- diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 152906f37..6f44975dc 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -753,10 +753,7 @@ static bool lxcapi_stop(struct lxc_container *c) ret = lxc_cmd_stop(c->name, c->config_path); - if (ret == 0) - return do_lxcapi_wait(c, "STOPPED", 10); - - return false; + return ret == 0; } static int do_create_container_dir(const char *path, struct lxc_conf *conf)