mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-01-09 05:17:35 +03:00
dump logfile: avoid boolean ternary if already boolean value
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f0c1b0c03c
commit
7b1aa2e84a
@ -1281,7 +1281,7 @@ sub dump_logfile {
|
||||
$start = $start // 0;
|
||||
$limit = $limit // 50;
|
||||
|
||||
my $read_until_end = ($limit == 0) ? 1 : 0;
|
||||
my $read_until_end = $limit == 0;
|
||||
my $line;
|
||||
|
||||
if ($filter) {
|
||||
|
Loading…
Reference in New Issue
Block a user