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;