[pve-devel] [PATCH 03/09] Remove unnecessary output from error message.

mir at datanom.net mir at datanom.net
Mon Aug 12 20:09:08 CEST 2013


From: Michael Rasmussen <mir at datanom.net>

Signed-off-by: Michael Rasmussen <mir at datanom.net>
---
 PVE/Storage/ZFSPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm
index b02a87a..0addd0b 100644
--- a/PVE/Storage/ZFSPlugin.pm
+++ b/PVE/Storage/ZFSPlugin.pm
@@ -503,7 +503,7 @@ sub free_image {
         my $err = $@;
         zfs_create_lu($scfg, $name);
         zfs_add_lun_mapping_entry($scfg, $name);
-        die "1: $err";
+        die $err;
     } if $@;
 
     return undef;
-- 
1.8.4.rc2




More information about the pve-devel mailing list