Use || instead of 'or'.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
parent
9dc43cc866
commit
891427ead0
@ -73,7 +73,7 @@ my $r_flag = $opts{'r'} // 0;
|
||||
my $dry_run = $opts{'d'} // 0;
|
||||
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$!");
|
||||
|
||||
my $found_txs = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user