diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-25 10:15:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-25 10:15:15 +0000 |
commit | 105e0c313f74a1cef02b796e018c6ad1cb16351b (patch) | |
tree | 9de9b4695f5cd3b560bf64accca48f55ef5a4b96 /perl-install/fs/format.pm | |
parent | a6f3a6b9ff69963684db50d0aea87590f7eb69f0 (diff) | |
download | drakx-105e0c313f74a1cef02b796e018c6ad1cb16351b.tar drakx-105e0c313f74a1cef02b796e018c6ad1cb16351b.tar.gz drakx-105e0c313f74a1cef02b796e018c6ad1cb16351b.tar.bz2 drakx-105e0c313f74a1cef02b796e018c6ad1cb16351b.tar.xz drakx-105e0c313f74a1cef02b796e018c6ad1cb16351b.zip |
even if it still takes some time when format is over, we don't want the progress bar to stay at 85%
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r-- | perl-install/fs/format.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 0bae41ce8..373bde008 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -105,8 +105,8 @@ sub mke2fs { local $/ = "\b"; local $_; while (<$F>) { - #- when this is over, it still takes some time, hence the 85% - $wait_message->('', $1, int($2 / 0.85)) if m!^\s*(\d+)/(\d+)\b!; + #- even if it still takes some time when format is over, we don't want the progress bar to stay at 85% + $wait_message->('', $1, $2) if m!^\s*(\d+)/(\d+)\b!; } return close($F); } |