]> git.proxmox.com Git - pve-cluster.git/commitdiff
pvecm: remove unused variable
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 16 Nov 2017 14:27:51 +0000 (15:27 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 20 Nov 2017 12:46:12 +0000 (13:46 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/CLI/pvecm.pm

index a355ba5fbe3c4eba5c0e0fa6af2e0537e63da2dd..d1cd4a9d40f0a24f5f4979545a76b1d0934b451b 100755 (executable)
@@ -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;