diff --git a/apps/vmware/connector/mode/datastoreiops.pm b/apps/vmware/connector/mode/datastoreiops.pm index d23b5a11c..1a0b2c3b7 100644 --- a/apps/vmware/connector/mode/datastoreiops.pm +++ b/apps/vmware/connector/mode/datastoreiops.pm @@ -165,7 +165,8 @@ sub manage_selection { severity => 'OK', short_msg => $response->{short_message} ); - return ; + $self->{output}->display(); + $self->{output}->exit(); } foreach my $ds_id (keys %{$response->{data}}) { diff --git a/apps/vmware/connector/mode/datastorevm.pm b/apps/vmware/connector/mode/datastorevm.pm index c6cc54067..23657ea95 100644 --- a/apps/vmware/connector/mode/datastorevm.pm +++ b/apps/vmware/connector/mode/datastorevm.pm @@ -175,7 +175,8 @@ sub manage_selection { severity => 'OK', short_msg => $response->{short_message} ); - return ; + $self->{output}->display(); + $self->{output}->exit(); } foreach my $vm_id (keys %{$response->{data}}) {