Browse Source

[Minor] Fix spinner rotation

tags/1.7.1
Alexander Moisseev 6 years ago
parent
commit
233c5ae2ad
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      utils/rspamd_stats.pl

+ 1
- 1
utils/rspamd_stats.pl View File

@@ -702,8 +702,8 @@ sub spinner {
my @spinner = qw{/ - \ |};
return
if ( $json || ( time - $spinner_update_time ) < 1 );
printf "%s\r", $spinner[ $spinner_update_time % @spinner ];
$spinner_update_time = time;
printf "%s\r", $spinner[ $spinner_update_time % @spinner ];
select()->flush();
}


Loading…
Cancel
Save