Simplify syntax.

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
Nicolás A. Ortega Froysa 2024-03-11 20:05:40 +01:00
parent e11cc694f5
commit e6514c37d3

View File

@ -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);