lxccontainer: do_lxcapi_freeze()

parent 1b61062f
...@@ -492,12 +492,14 @@ WRAP_API(bool, lxcapi_is_running) ...@@ -492,12 +492,14 @@ WRAP_API(bool, lxcapi_is_running)
static bool do_lxcapi_freeze(struct lxc_container *c) static bool do_lxcapi_freeze(struct lxc_container *c)
{ {
int ret; int ret;
if (!c) if (!c)
return false; return false;
ret = lxc_freeze(c->name, c->config_path); ret = lxc_freeze(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