mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-08 13:35:33 +00:00
import disk: add \n to die
This commit is contained in:
parent
0f0aa6b71e
commit
21463b9a04
@ -52,7 +52,7 @@ sub do_import {
|
|||||||
|
|
||||||
if ($drive_name) {
|
if ($drive_name) {
|
||||||
# should never happen as setting $drive_name is not exposed to public interface
|
# should never happen as setting $drive_name is not exposed to public interface
|
||||||
die "cowardly refusing to overwrite existing entry: $drive_name" if $vm_conf->{$drive_name};
|
die "cowardly refusing to overwrite existing entry: $drive_name\n" if $vm_conf->{$drive_name};
|
||||||
|
|
||||||
my $modified = {}; # record what $option we modify
|
my $modified = {}; # record what $option we modify
|
||||||
$modified->{$drive_name} = 1;
|
$modified->{$drive_name} = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user