cli: pveam: remove unused private sub

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2021-05-12 14:32:53 +02:00 committed by Thomas Lamprecht
parent 0a7de3377b
commit bbc34b4789

View File

@ -20,12 +20,6 @@ use base qw(PVE::CLIHandler);
my $nodename = PVE::INotify::nodename(); my $nodename = PVE::INotify::nodename();
my $upid_exit = sub {
my $upid = shift;
my $status = PVE::Tools::upid_read_status($upid);
exit($status eq 'OK' ? 0 : -1);
};
sub setup_environment { sub setup_environment {
PVE::RPCEnvironment->setup_default_cli_env(); PVE::RPCEnvironment->setup_default_cli_env();
} }