From fda7291362727ec2f973552a7be388ee7e65ff37 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 23 Sep 2019 13:15:30 +0200 Subject: [PATCH] followup: add newline in warn to avoid extra perl-internal info Signed-off-by: Thomas Lamprecht --- PVE/API2/Qemu.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index fbede123..6609c355 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -3393,10 +3393,9 @@ __PACKAGE__->register_method({ PVE::QemuConfig->check_lock($conf); if (PVE::QemuServer::check_running($vmid)) { - die "cant migrate running VM without --online\n" - if !$param->{online}; + die "can't migrate running VM without --online\n" if !$param->{online}; } else { - warn "VM isn't running. Doing offline migration instead." if $param->{online}; + warn "VM isn't running. Doing offline migration instead\n." if $param->{online}; $param->{online} = 0; }