[pve-devel] [PATCH manager 4/9] cli: pveam: remove unused private sub

Fabian Ebner f.ebner at proxmox.com
Wed May 12 14:32:53 CEST 2021


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/CLI/pveam.pm | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/PVE/CLI/pveam.pm b/PVE/CLI/pveam.pm
index a506aa9b..6c26f209 100644
--- a/PVE/CLI/pveam.pm
+++ b/PVE/CLI/pveam.pm
@@ -20,12 +20,6 @@ use base qw(PVE::CLIHandler);
 
 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 {
     PVE::RPCEnvironment->setup_default_cli_env();
 }
-- 
2.20.1






More information about the pve-devel mailing list