(plugin) os::aix::local - mode errpt fix empty options (#3951)
This commit is contained in:
parent
cf6f254774
commit
f3d22e60fb
|
@ -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 ''){
|
||||
|
|
Loading…
Reference in New Issue