lxccontainer: do_lxcapi_unfreeze()

parent 8787b387
...@@ -508,12 +508,14 @@ WRAP_API(bool, lxcapi_freeze) ...@@ -508,12 +508,14 @@ WRAP_API(bool, lxcapi_freeze)
static bool do_lxcapi_unfreeze(struct lxc_container *c) static bool do_lxcapi_unfreeze(struct lxc_container *c)
{ {
int ret; int ret;
if (!c) if (!c)
return false; return false;
ret = lxc_unfreeze(c->name, c->config_path); ret = lxc_unfreeze(c->name, c->config_path);
if (ret) if (ret)
return false; return false;
return true; return true;
} }
......
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