]> git.proxmox.com Git - qemu-server.git/commitdiff
followup: add newline in warn to avoid extra perl-internal info
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 23 Sep 2019 11:15:30 +0000 (13:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 23 Sep 2019 11:15:30 +0000 (13:15 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm

index fbede123921ddbf1f9251782da76b875c788c67c..6609c3558b6a686fd04a924de7f54baf9897c976 100644 (file)
@@ -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;
        }