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

mir at datanom.net mir at datanom.net
Sun Jun 9 23:44: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.7.10.4




More information about the pve-devel mailing list