goto on_error_stop;
}
+ if (!c->wait(c, "STOPPED", 5)) {
+ lxc_error("%s\n", "Failed waiting for container \"console-log\" to stop");
+ goto on_error_stop;
+ }
+
c->clear_config(c);
if (!c->load_config(c, NULL)) {
goto on_error_stop;
}
+ if (!c->wait(c, "STOPPED", 5)) {
+ lxc_error("%s\n", "Failed waiting for container \"console-log\" to stop");
+ goto on_error_stop;
+ }
+
if (!c->startl(c, 0, NULL)) {
lxc_error("%s\n", "Failed to start container \"console-log\" daemonized");
goto on_error_destroy;