[pve-devel] [PATCH cluster v2 1/3] pvecm: remove unused variable

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 16 15:27:51 CET 2017


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 data/PVE/CLI/pvecm.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/data/PVE/CLI/pvecm.pm b/data/PVE/CLI/pvecm.pm
index 9707114..015978d 100755
--- a/data/PVE/CLI/pvecm.pm
+++ b/data/PVE/CLI/pvecm.pm
@@ -86,7 +86,6 @@ __PACKAGE__->register_method ({
 	# test EUID
 	$> == 0 || die "Error: Authorization key must be generated as root user.\n";
 	my $dirname = dirname($filename);
-	my $basename = basename($filename);
 
 	die "key file '$filename' already exists\n" if -e $filename;
 
-- 
2.11.0





More information about the pve-devel mailing list