]> git.proxmox.com Git - qemu-server.git/commitdiff
import disk: add \n to die
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 1 Jun 2017 09:40:06 +0000 (11:40 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 1 Jun 2017 09:40:06 +0000 (11:40 +0200)
PVE/QemuServer/ImportDisk.pm

index e8e83b3448d606a8c65c640dbe76771e6f21fcb6..edbc20e9c60c4ec9e2c98df14d89cc5bbb9040ee 100755 (executable)
@@ -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;