(plugin) os::aix::local - mode errpt fix empty options (#3951)

This commit is contained in:
qgarnier 2022-10-03 09:51:19 +02:00 committed by GitHub
parent cf6f254774
commit f3d22e60fb
1 changed files with 3 additions and 3 deletions

View File

@ -60,10 +60,10 @@ sub manage_selection {
my ($self, %options) = @_;
my $extra_options = '';
if (defined($self->{option_results}->{error_type})){
if (defined($self->{option_results}->{error_type}) && $self->{option_results}->{error_type} ne '') {
$extra_options .= ' -T '.$self->{option_results}->{error_type};
}
if (defined($self->{option_results}->{error_class})){
if (defined($self->{option_results}->{error_class}) && $self->{option_results}->{error_class} ne '') {
$extra_options .= ' -d '.$self->{option_results}->{error_class};
}
if (defined($self->{option_results}->{error_id}) && $self->{option_results}->{error_id} ne ''){