[pve-devel] [PATCH 3/8] Remove unnecessary output from error message.

mir at datanom.net mir at datanom.net
Thu Jun 27 22:28:05 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.3.1




More information about the pve-devel mailing list