[pve-devel] [PATCH] lxc detect error message changed

Alen Grizonic a.grizonic at proxmox.com
Mon Aug 31 15:37:47 CEST 2015


---
 src/PVE/API2/LXC.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 2c42622..7411bdd 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -311,7 +311,7 @@ __PACKAGE__->register_method({
 
 	my $check_vmid_usage = sub {
 	    if ($force) {
-		die "cant overwrite running container\n"
+		die "can't overwrite running container\n"
 		    if PVE::LXC::check_running($vmid);
 	    } else {
 		PVE::Cluster::check_vmid_unused($vmid);
@@ -804,7 +804,7 @@ __PACKAGE__->register_method({
 
 	# try to detect errors early
 	if (PVE::LXC::check_running($vmid)) {
-	    die "cant migrate running container without --online\n"
+	    die "can't migrate running container without --online\n"
 		if !$param->{online};
 	}
 
-- 
2.1.4





More information about the pve-devel mailing list