mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-17 22:13:44 +00:00
followup: add newline in warn to avoid extra perl-internal info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1373938627
commit
fda7291362
@ -3393,10 +3393,9 @@ __PACKAGE__->register_method({
|
|||||||
PVE::QemuConfig->check_lock($conf);
|
PVE::QemuConfig->check_lock($conf);
|
||||||
|
|
||||||
if (PVE::QemuServer::check_running($vmid)) {
|
if (PVE::QemuServer::check_running($vmid)) {
|
||||||
die "cant migrate running VM without --online\n"
|
die "can't migrate running VM without --online\n" if !$param->{online};
|
||||||
if !$param->{online};
|
|
||||||
} else {
|
} 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;
|
$param->{online} = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user