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

return only if no stdout

parent 3df82ac9
...@@ -37,6 +37,7 @@ get_disk_usage = (cb) -> ...@@ -37,6 +37,7 @@ 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
if not stdout?
return return
result = {} result = {}
others = 0 others = 0
......
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