From: Shawn Boyette Date: Mon, 18 Aug 2008 20:31:37 +0000 (+0000) Subject: fine, no more dividing by zero X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=e91e830e553f83eb19d0e7eb62ef2270e01dad6d;hp=4e3c4dd6bb16e49a42327507e3c17b90734310b9 fine, no more dividing by zero --- diff --git a/fingerprinter b/fingerprinter index 9b973b8..addeaaf 100755 --- a/fingerprinter +++ b/fingerprinter @@ -318,7 +318,7 @@ sub initialize { sub progress_ticker { return if $conf->{quiet}; - printf("> %d (%d/s)\r", $count, ($count / (time - $start))) + printf("> %d (%d/s)\r", $count, ($count / (time - $start + 1))) if ($count % 100 == 0); }