Commit 9b071fa6 authored by Leo Iannacone's avatar Leo Iannacone

return only if no stdout

parent 3df82ac9
...@@ -37,7 +37,8 @@ get_disk_usage = (cb) -> ...@@ -37,7 +37,8 @@ get_disk_usage = (cb) ->
if stderr? if stderr?
error = '\n\t' + stderr.replace(/\n/g, '\n\t') error = '\n\t' + stderr.replace(/\n/g, '\n\t')
utils.errors_handler "disk usage error:", error utils.errors_handler "disk usage error:", error
return if not stdout?
return
result = {} result = {}
others = 0 others = 0
for line in stdout.split('\n') for line in stdout.split('\n')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment