5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-02-15 05:57:39 +03:00

import disk: add \n to die

This commit is contained in:
Fabian Grünbichler 2017-06-01 11:40:06 +02:00
parent 0f0aa6b71e
commit 21463b9a04

View File

@ -52,7 +52,7 @@ sub do_import {
if ($drive_name) {
# 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
$modified->{$drive_name} = 1;