[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] divide by zero in cobalt-gui...



Rob wrote:

> i don't see how, unless you modified the script.  the code in question:
> my $sitePercent = ($siteTotal) ?
>     sprintf $fmt, $siteUsed / $siteTotal * 100 : '?';
> 
> the division doesn't take place if $siteTotal is 0.

Weird, eh?  Yep.

We moved the client off the box.  It was hacked.

Thanks, guys.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484