diff options
Diffstat (limited to 'Cydia.app/storage.js')
-rw-r--r-- | Cydia.app/storage.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Cydia.app/storage.js b/Cydia.app/storage.js index 02dc51b..73d5de7 100644 --- a/Cydia.app/storage.js +++ b/Cydia.app/storage.js @@ -57,6 +57,8 @@ var setup = function (name, root, folders) { for (var i = 0; i != folders.length; ++i) { var folder = folders[i]; var usage = cydia.du(folder[1]); + if (usage == null) + usage = 0; var color = colors[i + 2]; var percent = usage / kb; list(legend, color, folder[0], percent); |