Skip to content

Commit

Permalink
tools: lxc-destroy: remove the trailing .
Browse files Browse the repository at this point in the history
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
  • Loading branch information
2xsec authored and Christian Brauner committed Jul 2, 2018
1 parent a40ef3f commit df6da37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/tools/lxc_destroy.c
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down

0 comments on commit df6da37

Please sign in to comment.