mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Always update the status file at 0%
This commit is contained in:
@@ -919,7 +919,8 @@ if (!$main::read_parse_mime_callback_flushed) {
|
||||
my $upfile = "$vardir/upload.$id";
|
||||
if ($totalsize && $size >= 0) {
|
||||
my $pc = int(100 * $size / $totalsize);
|
||||
if ($pc <= $main::read_parse_mime_callback_pc{$upfile}) {
|
||||
if (defined($main::read_parse_mime_callback_pc{$upfile}) &&
|
||||
$pc <= $main::read_parse_mime_callback_pc{$upfile}) {
|
||||
return;
|
||||
}
|
||||
$main::read_parse_mime_callback_pc{$upfile} = $pc;
|
||||
|
||||
Reference in New Issue
Block a user