]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/API2/Qemu.pm
followup: add newline in warn to avoid extra perl-internal info
[qemu-server.git] / 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;
        }