Index: /tags/ipp-20121218/Nebulous/bin/neb-df
===================================================================
--- /tags/ipp-20121218/Nebulous/bin/neb-df	(revision 34939)
+++ /tags/ipp-20121218/Nebulous/bin/neb-df	(revision 34940)
@@ -61,5 +61,9 @@
     $total_used     += $used;
     my $available   = $total - $used;
-    my $usedper     = ($used / ($total+1)) * 100;
+    if ($total == 0) {
+        # Avoid dividing by 0
+        $total = 1;
+    }
+    my $usedper     = ($used / $total) * 100;
     my $mountpoint  = $vol{mountpoint};
 
