]> git.proxmox.com Git - mirror_lxc.git/commitdiff
tools: lxc-destroy: remove the trailing .
author2xsec <dh48.jeong@samsung.com>
Sun, 1 Jul 2018 13:47:25 +0000 (22:47 +0900)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 2 Jul 2018 09:13:39 +0000 (11:13 +0200)
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
src/lxc/tools/lxc_destroy.c

index bc1657b60b05f6eaf92f1d2ecdbc736f46e4de2f..f7bd06d87ca2ce40c0337ec10bf4e5e80bd7c667 100644 (file)
@@ -158,7 +158,7 @@ static bool do_destroy(struct lxc_container *c)
                return false;
 
        if (file_exists(path)) {
-               ERROR("Destroying %s failed: %s has clones.", c->name, c->name);
+               ERROR("Destroying %s failed: %s has clones", c->name, c->name);
                return false;
        }
 
@@ -167,7 +167,7 @@ static bool do_destroy(struct lxc_container *c)
                return false;
 
        if (rmdir(path) < 0 && errno != ENOENT) {
-               ERROR("Destroying %s failed: %s has snapshots.", c->name, c->name);
+               ERROR("Destroying %s failed: %s has snapshots", c->name, c->name);
                return false;
        }