From e6514c37d360b213a1d3ace85931b6e41a5d534c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Mon, 11 Mar 2024 20:05:40 +0100 Subject: [PATCH] Simplify syntax. 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, 1 insertion(+), 3 deletions(-) diff --git a/pacundo.pl b/pacundo.pl index 8f7c7e4..2be4693 100755 --- a/pacundo.pl +++ b/pacundo.pl @@ -164,6 +164,4 @@ my $num_txs = $opts{'t'} // 1; my @undo_txs = &read_txs($num_txs); # Interactive mode -unless ($r_flag) { - @undo_txs = &select_txs(@undo_txs); -} +@undo_txs = &select_txs(@undo_txs) unless ($r_flag);