$command_options was declared twice

This commit is contained in:
Stéphane Duret 2024-09-10 15:14:00 +02:00 committed by GitHub
parent cf8c322dcf
commit 9967316e90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ sub manage_selection {
my $command_options = '--output json --output-fields MESSAGE --no-pager';
# --output-field option has been added in version 236
if ($journalctl_version < 236) {
my $command_options = '--output json --no-pager';
$command_options = '--output json --no-pager';
};
if (defined($self->{option_results}->{unit}) && $self->{option_results}->{unit} ne '') {