]> git.proxmox.com Git - pve-storage.git/commitdiff
add newline to error message
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 18 Jun 2012 04:30:27 +0000 (06:30 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 18 Jun 2012 04:30:27 +0000 (06:30 +0200)
PVE/API2/Storage/Status.pm

index 836eeb7c68475993ca829cc0f580041d72aeaa9c..c4b6035633b74f425546762eb4b565ab44b8ad5a 100644 (file)
@@ -295,7 +295,7 @@ __PACKAGE__->register_method ({
        my $node = $param->{node};
        my $scfg = PVE::Storage::storage_check_enabled($cfg, $param->{storage}, $node);
 
-       die "cant upload to storage type '$scfg->{type}'" 
+       die "cant upload to storage type '$scfg->{type}'\n
            if !($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs');
 
        my $content = $param->{content};