From 571abaa61111b4025076c7e4399adc8e977b662c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 18 Jun 2012 06:30:27 +0200 Subject: [PATCH] add newline to error message --- PVE/API2/Storage/Status.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index 836eeb7..c4b6035 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -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};