[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] divide by zero in cobalt-gui...
- Subject: Re: [cobalt-developers] divide by zero in cobalt-gui...
- From: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Wed Feb 13 11:52:02 2002
- Organization: nobaloney.net
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
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