diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/rspamd_stats.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl index efb787358..50191959c 100755 --- a/utils/rspamd_stats.pl +++ b/utils/rspamd_stats.pl @@ -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(); } |