diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-03-17 18:58:08 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-03-17 18:58:08 +0300 |
commit | 233c5ae2ad31a4ab9755fd52492cc796c329bfd7 (patch) | |
tree | 19eccae348226ec339f9830d7078a7001f779e58 /utils | |
parent | 3d2b7274a1adda138488140f688e724f7d994ba1 (diff) | |
download | rspamd-233c5ae2ad31a4ab9755fd52492cc796c329bfd7.tar.gz rspamd-233c5ae2ad31a4ab9755fd52492cc796c329bfd7.zip |
[Minor] Fix spinner rotation
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(); } |