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.
----- Original Message -----
From: "Gerald Waugh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 9:57 PM
Subject: Re: [cobalt-developers] divide by zero in cobalt-gui...
> On Monday 04 February 2002 10:12 pm, Jeff Lasman wrote:
>
> > Illegal division by zero at
> > /usr/admserv/cgi-bin/.cobalt/diskUsage/diskUsage.cgi line 204.
>
> http://list.cobalt.com/pipermail/cobalt-users/2001-November/056413.html
> Maybe this link will help
> Obviously some variable is set to 0
>
> --
> Gerald Waugh
> Registered Linux User 255245
> Register at http://counter.li.org
>
> _______________________________________________
> cobalt-developers mailing list
> [EMAIL PROTECTED]
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers