[pve-devel] [PATCH qemu-server 1/4] fix wrong punctuation in error msg

Stefan Reiter s.reiter at proxmox.com
Mon Dec 9 16:14:07 CET 2019


...leading to ugly line info being printed.

Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
 PVE/API2/Qemu.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index fbf036a..b28373e 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -3378,7 +3378,7 @@ __PACKAGE__->register_method({
 	if (PVE::QemuServer::check_running($vmid)) {
 	    die "can't migrate running VM without --online\n" if !$param->{online};
 	} else {
-	    warn "VM isn't running. Doing offline migration instead\n." if $param->{online};
+	    warn "VM isn't running. Doing offline migration instead.\n" if $param->{online};
 	    $param->{online} = 0;
 	}
 
-- 
2.20.1





More information about the pve-devel mailing list