From 891427ead072685be510b73139d30c41c84d454d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Sun, 3 Mar 2024 18:51:44 +0100 Subject: [PATCH] Use || instead of 'or'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolás Ortega Froysa --- pacundo.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pacundo.pl b/pacundo.pl index f417ceb..55c84fd 100755 --- a/pacundo.pl +++ b/pacundo.pl @@ -73,8 +73,8 @@ 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 -die("Failed to load pacman log file.\n$!"); +my $pacman_log = File::ReadBackwards->new("/var/log/pacman.log") || + die("Failed to load pacman log file.\n$!"); my $found_txs = 0; my $in_tx = 0;