]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxccontainer: do_lxcapi_unfreeze()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 24 Feb 2018 14:18:30 +0000 (15:18 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 24 Feb 2018 20:38:20 +0000 (21:38 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/lxccontainer.c

index ec13620e3355b9fdf1ca530a0f6c654c7a747f0c..45252d9961df16f8f9fba8174f48bb1237b7cb61 100644 (file)
@@ -508,12 +508,14 @@ WRAP_API(bool, lxcapi_freeze)
 static bool do_lxcapi_unfreeze(struct lxc_container *c)
 {
        int ret;
+
        if (!c)
                return false;
 
        ret = lxc_unfreeze(c->name, c->config_path);
        if (ret)
                return false;
+
        return true;
 }