Use || instead of 'or'.

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
Nicolás A. Ortega Froysa 2024-03-03 18:51:44 +01:00
parent 9dc43cc866
commit 891427ead0

View File

@ -73,8 +73,8 @@ my $r_flag = $opts{'r'} // 0;
my $dry_run = $opts{'d'} // 0; my $dry_run = $opts{'d'} // 0;
my $num_txs = $opts{'t'} // 1; my $num_txs = $opts{'t'} // 1;
my $pacman_log = File::ReadBackwards->new("/var/log/pacman.log") or my $pacman_log = File::ReadBackwards->new("/var/log/pacman.log") ||
die("Failed to load pacman log file.\n$!"); die("Failed to load pacman log file.\n$!");
my $found_txs = 0; my $found_txs = 0;
my $in_tx = 0; my $in_tx = 0;